Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 214d908

Browse files
committed
Fix linter
1 parent 85acf29 commit 214d908

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/use-camera-and-microphone-example/src/utils/useReconnectLogs.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import { ClientEvents } from "@fishjam-dev/react-client";
2-
import { PeerMetadata, TrackMetadata, useClient } from "../fishjamSetup";
1+
import type { ClientEvents } from "@fishjam-dev/react-client";
2+
import type { PeerMetadata, TrackMetadata} from "../fishjamSetup";
3+
import { useClient } from "../fishjamSetup";
34
import { useEffect } from "react";
45

6+
/* eslint-disable no-console */
57
export const useReconnectLogs = () => {
68
const client = useClient();
79

@@ -44,7 +46,6 @@ export const useReconnectLogs = () => {
4446
const onAuthError: ClientEvents<PeerMetadata, TrackMetadata>["authError"] = (reason) => {
4547
if (client.isReconnecting()) {
4648
console.log("%c" + "During reconnection: authError: " + reason, "color:gray");
47-
} else {
4849
}
4950
};
5051

0 commit comments

Comments
 (0)