-
-
Save Daltonic/31834ef324af3ead415c0cebcf1a5c7e to your computer and use it in GitHub Desktop.
Event X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createSlice } from '@reduxjs/toolkit' | |
import { globalStates as GlobalStates } from './states/globalStates' | |
import { globalActions as GlobalActions } from './actions/globalActions' | |
export const globalSlices = createSlice({ | |
name: 'global', | |
initialState: GlobalStates, | |
reducers: GlobalActions, | |
}) | |
export const globalActions = globalSlices.actions | |
export default globalSlices.reducer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment