fix: change sidebars folder to specific left sidebar

This commit is contained in:
RadoslavDimchev 2023-10-17 20:31:47 +03:00
parent 802009d5b9
commit 96d925a7b4
3 changed files with 5 additions and 3 deletions

View File

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

View File

@ -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
}
},
},
})

View File

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