feat: remove new recording prop

This commit is contained in:
karishmas6
2024-10-21 01:13:06 +05:30
parent ec8144fb17
commit 6072ed7d65

View File

@@ -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<NavBarProps> = ({ newRecording, recordingName, isRecording }) => {
export const NavBar: React.FC<NavBarProps> = ({ recordingName, isRecording }) => {
const { notify, browserId, setBrowserId, recordingUrl } = useGlobalInfoStore();
const { state, dispatch } = useContext(AuthContext);