From 983a047c49e7989093142b65f4c2bd90a770ab54 Mon Sep 17 00:00:00 2001 From: emmanuel Date: Fri, 10 May 2024 08:38:30 +0000 Subject: [PATCH] Fix typo: fix TypeScript typo in 'Sidebar.tsx' and 'index.d.ts' --- components/Sidebar.tsx | 2 +- types/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }