diff --git a/src/lib/components/BotonSeguir.svelte b/src/lib/components/BotonSeguir.svelte index 0e31a04..f2c4c6c 100644 --- a/src/lib/components/BotonSeguir.svelte +++ b/src/lib/components/BotonSeguir.svelte @@ -15,7 +15,8 @@ import DialogContent from './ui/dialog/dialog-content.svelte'; import Dialog from './ui/dialog/dialog.svelte'; - let { post }: { post: Post } = $props(); + let { post }: { post: Omit, 'authorId'> & { authorId: string } } = $props(); + let seguido: Boolean | null = $state(null); if (typeof window !== 'undefined') { @@ -56,10 +57,9 @@