Split event view into components
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<script lang="ts">
|
||||
let { error } = $props<{
|
||||
error: string;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
{#if error}
|
||||
<div class="mt-4 rounded border border-red-200 bg-red-50 p-3">
|
||||
<p class="text-sm text-red-600">{error}</p>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user