diff --git a/src/stories/Blocks/header/Header.tsx b/src/stories/Blocks/header/Header.tsx index c1b2d31d4..b46b6d62c 100644 --- a/src/stories/Blocks/header/Header.tsx +++ b/src/stories/Blocks/header/Header.tsx @@ -20,14 +20,13 @@ export type HeaderProps = { openDropdown: boolean; }; -export const Header = (props: HeaderProps) => { - const { - signedIn, - haveNotification, - username, - inputPlaceholder, - openDropdown, - } = props; +export const Header = ({ + signedIn, + haveNotification, + username, + inputPlaceholder, + openDropdown, +}: HeaderProps) => { const [isDropdownOpen, setIsDropdownOpen] = useState(openDropdown); useEffect(() => { @@ -43,7 +42,7 @@ export const Header = (props: HeaderProps) => { hasImage libraryName="Hjørring" libraryPlace="Bibliotekerne" - altText="PromoTitle image of libary" + altText="PromoTitle image of library" /> @@ -56,7 +55,7 @@ export const Header = (props: HeaderProps) => {