fix(ui): fix packaging import issue (#3294)

I accidentally merged a broken #3292 (merge conflicts incorrectly
resolved). Fixing it
This commit is contained in:
blessedcoolant 2023-04-29 00:39:56 +12:00 committed by GitHub
commit 0eed9dbc44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -15,6 +15,9 @@
}
},
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prepare": "cd ../../../ && husky install invokeai/frontend/web/.husky",
"dev": "concurrently \"vite dev\" \"yarn run theme:watch\"",
@ -53,7 +56,6 @@
},
"dependencies": {
"@chakra-ui/anatomy": "^2.1.1",
"@chakra-ui/cli": "^2.4.0",
"@chakra-ui/icons": "^2.0.19",
"@chakra-ui/react": "^2.6.0",
"@chakra-ui/styled-system": "^2.9.0",
@ -97,7 +99,9 @@
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"ts-toolbelt": "^9.6.0",
"@chakra-ui/cli": "^2.4.0"
},
"devDependencies": {
"@types/dateformat": "^5.0.0",

View File

@ -32,7 +32,7 @@ import { receivedModels } from 'services/thunks/model';
import { receivedOpenAPISchema } from 'services/thunks/schema';
import { isImageOutput } from 'services/types/guards';
import { imageReceived, thumbnailReceived } from 'services/thunks/image';
import { setEventListeners } from './util/setEventListeners';
import { setEventListeners } from 'services/events/util/setEventListeners';
export const socketMiddleware = () => {
let areListenersSet = false;

View File

@ -1,5 +1,5 @@
import { MiddlewareAPI } from '@reduxjs/toolkit';
import { AppDispatch, RootState } from 'app/store';
import { AppDispatch, RootState } from 'app/store/store';
import { getTimestamp } from 'common/util/getTimestamp';
import { sessionCanceled } from 'services/thunks/session';
import { Socket } from 'socket.io-client';