Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Dec 16, 2024
1 parent 9994ad1 commit 4d2910e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/js/Pages/Artists/Components/Form/Form.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
let errors = $derived(Object.values($form.errors));
let photoForm: ReturnType<typeof PhotoForm> = $state()!;
let photoForm: PhotoForm = $state()!;
function onsubmit(event: SubmitEvent) {
event.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Artists/Show.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
let hasExtract = $derived(!!artist.wikipediaExtract);
let modalIsOpen = $state(false);
let modal: ReturnType<typeof ImageModal> = $state()!;
let modal: ImageModal = $state()!;
</script>

<svelte:head>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Tales/Show.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
let { tale, user }: { tale: ShowResource } & SharedProps = $props();
let modalIsOpen = $state(false);
let modal: ReturnType<typeof ImageModal> = $state()!;
let modal: ImageModal = $state()!;
</script>

<svelte:head>
Expand Down

0 comments on commit 4d2910e

Please sign in to comment.