fix: change sidebars folder to specific left sidebar
This commit is contained in:
parent
802009d5b9
commit
96d925a7b4
|
@ -2,7 +2,7 @@ import { IconButton } from '@status-im/components'
|
|||
import { useDispatch } from 'react-redux'
|
||||
import { Stack } from 'tamagui'
|
||||
|
||||
import { toggleButtonSelection } from '../../../redux/Sidebars/slice'
|
||||
import { toggleButtonSelection } from '../../../redux/LeftSidebar/slice'
|
||||
|
||||
type IconButtonWithDotProps = {
|
||||
iconEl: any
|
||||
|
|
|
@ -35,7 +35,9 @@ const leftSidebarSlice = createSlice({
|
|||
},
|
||||
toggleDot: (state, action: PayloadAction<string>) => {
|
||||
const button = state.buttons.find(button => button.id === action.payload)
|
||||
if (button) button.isDotOn = !button.isDotOn
|
||||
if (button) {
|
||||
button.isDotOn = !button.isDotOn
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
|
@ -6,7 +6,7 @@ import pinnedMessageReducer from './PinnedMessage/slice'
|
|||
import execClientReducer from './ValidatorOnboarding/ClientSetup/slice'
|
||||
import keyGenerationReducer from './ValidatorOnboarding/KeyGeneration/slice'
|
||||
import depositReducer from './ValidatorOnboarding/Deposit/slice'
|
||||
import leftSidebarReducer from './Sidebars/slice'
|
||||
import leftSidebarReducer from './LeftSidebar/slice'
|
||||
import rightSidebarReducer from './RightSidebar/slice'
|
||||
import validatorOnboardingReducer from './ValidatorOnboarding/slice'
|
||||
import advisoriesReducer from './ValidatorOnboarding/Advisories/slice'
|
||||
|
|
Loading…
Reference in New Issue