mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix all eslint & prettier issues
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user