fix(ui): fix all eslint & prettier issues

This commit is contained in:
psychedelicious
2023-07-22 23:26:14 +10:00
parent 6452d0fc28
commit c5147d0f57
95 changed files with 333 additions and 670 deletions

View File

@ -50,7 +50,9 @@ export const setEventListeners = (arg: SetEventListenersArg) => {
socket.on('connect_error', (error) => {
if (error && error.message) {
const data: string | undefined = (error as any).data;
const data: string | undefined = (
error as unknown as { data: string | undefined }
).data;
if (data === 'ERR_UNAUTHENTICATED') {
dispatch(
addToast(