-
-
Save Daltonic/47f743789f5d7b075c193cddafcb948e to your computer and use it in GitHub Desktop.
Dapp Bnb
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