Fixed setError/useError typos & added stronger typing

This commit is contained in:
Koper
2023-08-31 22:07:58 +07:00
parent 7662d54c14
commit df4dc841fc
3 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,6 @@ import useAudioDevice from "../useAudioDevice";
import "../../styles/button.css";
import { Topic } from "../webSocketTypes";
import getApi from "../../lib/getApi";
import { useError } from "../../(errors)/errorContext";
const App = () => {
const [stream, setStream] = useState<MediaStream | null>(null);