fix(currency-slice): name of slice
This commit is contained in:
parent
e5ae76879e
commit
4df8783a77
|
@ -4,8 +4,8 @@ import { CURRENCIES } from '../../constants'
|
|||
|
||||
export type CurrencyType = keyof typeof CURRENCIES
|
||||
|
||||
const pairDeviceSlice = createSlice({
|
||||
name: 'pairDevice',
|
||||
const currencySlice = createSlice({
|
||||
name: 'currency',
|
||||
initialState: Object.keys(CURRENCIES)[0],
|
||||
reducers: {
|
||||
setCurrency: (_, action) => {
|
||||
|
@ -14,6 +14,6 @@ const pairDeviceSlice = createSlice({
|
|||
},
|
||||
})
|
||||
|
||||
export const {} = pairDeviceSlice.actions
|
||||
export const {} = currencySlice.actions
|
||||
|
||||
export default pairDeviceSlice.reducer
|
||||
export default currencySlice.reducer
|
||||
|
|
|
@ -14,7 +14,7 @@ import validatorSetupReducer from './ValidatorOnboarding/ValidatorSetup/slice'
|
|||
import pairDeviceReducer from './PairDevice/slice'
|
||||
import manageValidatorTabReducer from './ManageValidatorTab/slice'
|
||||
import logsTerminalReducer from './LogsTerminal/slice'
|
||||
import currencyReducer from './Currency/slice'
|
||||
import currencyReducer from './currency/slice'
|
||||
|
||||
const store = configureStore({
|
||||
reducer: {
|
||||
|
|
Loading…
Reference in New Issue