feat: remove new recording prop
This commit is contained in:
@@ -11,12 +11,11 @@ import { useNavigate } from 'react-router-dom';
|
|||||||
import { AuthContext } from '../../context/auth';
|
import { AuthContext } from '../../context/auth';
|
||||||
|
|
||||||
interface NavBarProps {
|
interface NavBarProps {
|
||||||
newRecording: () => void;
|
|
||||||
recordingName: string;
|
recordingName: string;
|
||||||
isRecording: boolean;
|
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 { notify, browserId, setBrowserId, recordingUrl } = useGlobalInfoStore();
|
||||||
const { state, dispatch } = useContext(AuthContext);
|
const { state, dispatch } = useContext(AuthContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user