From 41dc92c59697c7fac27f8f8388a5c70876413485 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 10 Oct 2024 21:11:05 +0530 Subject: [PATCH] feat: proper ts for NavBar component --- src/components/molecules/NavBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/molecules/NavBar.tsx b/src/components/molecules/NavBar.tsx index 1bfec709..ee9627b3 100644 --- a/src/components/molecules/NavBar.tsx +++ b/src/components/molecules/NavBar.tsx @@ -17,7 +17,7 @@ interface NavBarProps { isRecording: boolean; } -export const NavBar = ({ newRecording, recordingName, isRecording }: NavBarProps) => { +export const NavBar: React.FC = ({ newRecording, recordingName, isRecording }) => { const { notify, browserId, setBrowserId, recordingLength } = useGlobalInfoStore(); const { state, dispatch } = useContext(AuthContext);