diff --git a/src/components/AddressBar.astro b/src/components/AddressBar.astro index 0f4c500..00eae41 100644 --- a/src/components/AddressBar.astro +++ b/src/components/AddressBar.astro @@ -2,11 +2,11 @@ import Icon from 'astro-iconify'; export interface Props { - url: string; + url: string | null; } -const { url } = Astro.props; const placeholder = 'Type the article URL here'; +const { url } = Astro.props; ---
@@ -14,7 +14,7 @@ const placeholder = 'Type the article URL here'; - + diff --git a/src/components/Library.astro b/src/components/Library.astro index 6850424..7c23cb1 100644 --- a/src/components/Library.astro +++ b/src/components/Library.astro @@ -1,31 +1,29 @@ --- export interface Props { - postDivSelector: string, + routerOutlet: string, skipSave?: boolean } -const {postDivSelector, skipSave = false} = Astro.props; +const {routerOutlet, skipSave = false} = Astro.props; ---
- - + +