From bbfe4b2ae177e2ddfbadc72d13369def4a32bada Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Mon, 10 Jun 2024 16:00:38 -0500 Subject: [PATCH] separate thunks no longer needed --- packages/foundation/src/store/thunks.ts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 packages/foundation/src/store/thunks.ts diff --git a/packages/foundation/src/store/thunks.ts b/packages/foundation/src/store/thunks.ts deleted file mode 100644 index a31b935f..00000000 --- a/packages/foundation/src/store/thunks.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { createThunks, mdw } from 'starfx'; - -const thunks = createThunks(); -// catch errors from task and logs them with extra info -thunks.use(mdw.err); -// where all the thunks get called in the middleware stack -thunks.use(thunks.routes()); - -export { thunks };