-
-
Save Daltonic/011944ecf355f6a24aaae99c5376f181 to your computer and use it in GitHub Desktop.
Dapp Votes
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 { globalActions as GlobalActions } from './actions/globalActions' | |
import { globalStates as GlobalStates } from './states/globalState' | |
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