diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 1a42e6b..30ef6ed 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -8,7 +8,7 @@ import { usePathname } from 'next/navigation' import Footer from './Footer' import PlaidLink from './PlaidLink' -const Sidebar = ({ user }: SiderbarProps) => { +const Sidebar = ({ user }: SidebarProps) => { const pathname = usePathname(); return ( diff --git a/types/index.d.ts b/types/index.d.ts index 8d55ef2..f196494 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -220,7 +220,7 @@ declare interface RightSidebarProps { banks: Bank[] & Account[]; } -declare interface SiderbarProps { +declare interface SidebarProps { user: User; }