Fix lints

This commit is contained in:
Robin committed 2024-06-04 11:20:25 -04:00
1 parent 07ce272e9f
commit 70fdc68b13
23 files changed
+60 -38

No files matched your search

+1 -1
View File
@@ -317,7 +317,7 @@ export const ClientProvider: FC<Props> = ({ children }) => {
initClientState.client.on(ClientEvent.Sync, onSync);
}
return () => {
return (): void => {
if (initClientState.client) {
initClientState.client.removeListener(ClientEvent.Sync, onSync);
}