feat: proper ts for NavBar component
This commit is contained in:
@@ -17,7 +17,7 @@ interface NavBarProps {
|
|||||||
isRecording: boolean;
|
isRecording: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const NavBar = ({ newRecording, recordingName, isRecording }: NavBarProps) => {
|
export const NavBar: React.FC<NavBarProps> = ({ newRecording, recordingName, isRecording }) => {
|
||||||
|
|
||||||
const { notify, browserId, setBrowserId, recordingLength } = useGlobalInfoStore();
|
const { notify, browserId, setBrowserId, recordingLength } = useGlobalInfoStore();
|
||||||
const { state, dispatch } = useContext(AuthContext);
|
const { state, dispatch } = useContext(AuthContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user