fix(currency-slice): name of slice

This commit is contained in:
RadoslavDimchev 2024-02-28 23:35:57 +02:00 committed by Emil Ivanichkov
parent e5ae76879e
commit 4df8783a77
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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: {