From f5aa4ce6fe28c3976180e4dedf53a33699627d0d Mon Sep 17 00:00:00 2001 From: Jonathon Herbert Date: Mon, 4 Mar 2024 17:33:03 +0000 Subject: [PATCH] A few reverts to limit the diff of the PR --- fronts-client/src/index.tsx | 2 +- fronts-client/src/lib/dnd/Level.tsx | 2 +- fronts-client/src/lib/dnd/index.ts | 10 +++++----- fronts-client/src/util/storeMiddleware.ts | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fronts-client/src/index.tsx b/fronts-client/src/index.tsx index 8eb25ce2f7c..40065e899f6 100644 --- a/fronts-client/src/index.tsx +++ b/fronts-client/src/index.tsx @@ -7,7 +7,7 @@ import { render } from 'react-dom'; import { Provider } from 'react-redux'; import Raven from 'raven-js'; import { BrowserRouter } from 'react-router-dom'; -import configureStore from './util/configureStore'; +import configureStore from '/util/configureStore'; import pageConfig from 'util/extractConfigFromPage'; import App from 'components/App'; import { configReceived } from 'actions/Config'; diff --git a/fronts-client/src/lib/dnd/Level.tsx b/fronts-client/src/lib/dnd/Level.tsx index c9f86dcf1e2..b93f6fcb06e 100644 --- a/fronts-client/src/lib/dnd/Level.tsx +++ b/fronts-client/src/lib/dnd/Level.tsx @@ -251,7 +251,7 @@ export default (props: OuterProps) => ( ); export { - type Move, + Move, PosSpec, LevelChild, MoveHandler, diff --git a/fronts-client/src/lib/dnd/index.ts b/fronts-client/src/lib/dnd/index.ts index 9459a64cdd1..90cd32f1bf7 100644 --- a/fronts-client/src/lib/dnd/index.ts +++ b/fronts-client/src/lib/dnd/index.ts @@ -1,9 +1,9 @@ export { default as DragAndDropRoot } from './Root'; export { default as Level, - type Move, - type PosSpec, - type LevelChild, - type MoveHandler, - type DropHandler, + Move, + PosSpec, + LevelChild, + MoveHandler, + DropHandler, } from './Level'; diff --git a/fronts-client/src/util/storeMiddleware.ts b/fronts-client/src/util/storeMiddleware.ts index ed774f9d798..4d38e85720a 100644 --- a/fronts-client/src/util/storeMiddleware.ts +++ b/fronts-client/src/util/storeMiddleware.ts @@ -260,7 +260,7 @@ const persistFavouriteFrontsOnEdit: ( }; export { - type PersistMeta, + PersistMeta, persistCollectionOnEdit, persistClipboardOnEdit, persistOpenFrontsOnEdit,