From 77c6220288378537497dfc9a7c3407a6b0ac4a67 Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Tue, 7 Jan 2025 14:54:49 -0800 Subject: [PATCH] Rename slice --- packages/loot-core/src/client/app/appSlice.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/loot-core/src/client/app/appSlice.ts b/packages/loot-core/src/client/app/appSlice.ts index 79cdb8d3c0f..429ff2c4027 100644 --- a/packages/loot-core/src/client/app/appSlice.ts +++ b/packages/loot-core/src/client/app/appSlice.ts @@ -39,7 +39,7 @@ export const updateApp = createAppAsyncThunk( type SetAppStateAction = PayloadAction>; -const accountSlice = createSlice({ +const appSlice = createSlice({ name: 'app', initialState, reducers: { @@ -52,10 +52,10 @@ const accountSlice = createSlice({ }, }); -export const { name, reducer, getInitialState } = accountSlice; +export const { name, reducer, getInitialState } = appSlice; export const actions = { - ...accountSlice.actions, + ...appSlice.actions, updateApp, };