File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,10 @@ import Heading from '@/components/heading';
22import { Button } from '@/components/ui/button' ;
33import { Separator } from '@/components/ui/separator' ;
44import { cn } from '@/lib/utils' ;
5+ import { type SettingsSidebarNavItem } from '@/types' ;
56import { Link } from '@inertiajs/react' ;
67import { type PropsWithChildren } from 'react' ;
78
8- interface SettingsSidebarNavItem {
9- title : string ;
10- route : string ;
11- }
12-
139const sidebarNavItems : SettingsSidebarNavItem [ ] = [
1410 {
1511 title : 'Profile' ,
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ export interface NavItem {
2222 isActive ?: boolean ;
2323}
2424
25+ interface SettingsSidebarNavItem {
26+ title : string ;
27+ route : string ;
28+ }
29+
2530export interface SharedData {
2631 name : string ;
2732 quote : { message : string ; author : string } ;
You can’t perform that action at this time.
0 commit comments