Skip to content

Commit

Permalink
Bugfix. Expose actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
chmac committed Nov 21, 2024
1 parent c7fc9ef commit d51f169
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nr-app/src/redux/slices/map.slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ const mapSlice = createSlice({

export default mapSlice.reducer;

export const { setMapSubscriptionIsUpdating } = mapSlice.actions;
export const {
setMapSubscriptionIsUpdating,
enableLayer,
disableLayer,
toggleLayer,
} = mapSlice.actions;

export const mapSelectors = mapSlice.getSelectors(
(state: RootState) => state[SLICE_NAME],
Expand Down

0 comments on commit d51f169

Please sign in to comment.