From 6072ed7d65193944612e535b3b39d8e68712bc73 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 21 Oct 2024 01:13:06 +0530 Subject: [PATCH] feat: remove new recording prop --- src/components/molecules/NavBar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/molecules/NavBar.tsx b/src/components/molecules/NavBar.tsx index 1c0e8981..d60faccc 100644 --- a/src/components/molecules/NavBar.tsx +++ b/src/components/molecules/NavBar.tsx @@ -11,12 +11,11 @@ import { useNavigate } from 'react-router-dom'; import { AuthContext } from '../../context/auth'; interface NavBarProps { - newRecording: () => void; recordingName: string; isRecording: boolean; } -export const NavBar: React.FC = ({ newRecording, recordingName, isRecording }) => { +export const NavBar: React.FC = ({ recordingName, isRecording }) => { const { notify, browserId, setBrowserId, recordingUrl } = useGlobalInfoStore(); const { state, dispatch } = useContext(AuthContext);