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; ---