diff --git a/app/components/Header.tsx b/app/components/Header.tsx index f31f576..4132c23 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -2,30 +2,30 @@ import { GearIcon, GlobeIcon, LockIcon, PaperAirplaneIcon, PeopleIcon, PersonIco import { Form } from '@remix-run/react' import { cn } from '~/utils/cn' -import { type Context } from '~/utils/config' +import { HeadplaneContext } from '~/utils/config/headplane' import { type SessionData } from '~/utils/sessions' import Menu from './Menu' import TabLink from './TabLink' -type Properties = { - readonly data?: Context & { user?: SessionData['user'] }; +interface Properties { + readonly data?: HeadplaneContext & { user?: SessionData['user'] } } -type LinkProperties = { - readonly href: string; - readonly text: string; - readonly isMenu?: boolean; +interface LinkProperties { + readonly href: string + readonly text: string + readonly isMenu?: boolean } function Link({ href, text, isMenu }: LinkProperties) { return (