Skip to content

Commit

Permalink
fix-1 enhancement_338_sidebar_menu_modal
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderMorugin committed May 6, 2024
1 parent 6afab16 commit e2b29ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 65 deletions.
13 changes: 2 additions & 11 deletions src/features/SideBarMenuModal/SideBarSublinks/SideBarSublinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,9 @@ import ArrowIcon from '@/assets/images/sideBarMenu/IconArrowDown.svg'
import Heading, { HeadingType } from '@/shared/ui/Heading/Heading'
import Link from '@/shared/ui/Link/Link'

import styles from './SideBarSublinks.module.scss'

export interface IData {
routes?: IRoute[]
subtitle?: string
route?: string
}
import { IData } from '../model/types/types'

export interface IRoute {
subtitle?: string
route?: string
}
import styles from './SideBarSublinks.module.scss'

export interface ISideBarSublinks {
isActive?: boolean
Expand Down
54 changes: 0 additions & 54 deletions src/features/SideBarMenuModal/model/data/data.ts

This file was deleted.

10 changes: 10 additions & 0 deletions src/features/SideBarMenuModal/model/types/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export interface IData {
routes?: IRoute[]
subtitle?: string
route?: string
}

export interface IRoute {
subtitle?: string
route?: string
}

0 comments on commit e2b29ba

Please sign in to comment.