Skip to content

Commit

Permalink
Rename slice
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Jan 8, 2025
1 parent 6391d30 commit 77c6220
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/loot-core/src/client/app/appSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const updateApp = createAppAsyncThunk(

type SetAppStateAction = PayloadAction<Partial<AppState>>;

const accountSlice = createSlice({
const appSlice = createSlice({
name: 'app',
initialState,
reducers: {
Expand All @@ -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,
};

Expand Down

0 comments on commit 77c6220

Please sign in to comment.