File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Heading from '@/components/Heading.vue';
3
3
import { Button } from ' @/components/ui/button' ;
4
4
import { Separator } from ' @/components/ui/separator' ;
5
5
import { toUrl , urlIsActive } from ' @/lib/utils' ;
6
- import { appearance } from ' @/routes' ;
6
+ import { edit as editAppearance } from ' @/routes/appearance ' ;
7
7
import { edit as editPassword } from ' @/routes/password' ;
8
8
import { edit } from ' @/routes/profile' ;
9
9
import { type NavItem } from ' @/types' ;
@@ -20,7 +20,7 @@ const sidebarNavItems: NavItem[] = [
20
20
},
21
21
{
22
22
title: ' Appearance' ,
23
- href: appearance (),
23
+ href: editAppearance (),
24
24
},
25
25
];
26
26
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ import { type BreadcrumbItem } from '@/types';
7
7
8
8
import AppLayout from ' @/layouts/AppLayout.vue' ;
9
9
import SettingsLayout from ' @/layouts/settings/Layout.vue' ;
10
- import { appearance } from ' @/routes' ;
10
+ import { edit } from ' @/routes/appearance ' ;
11
11
12
12
const breadcrumbItems: BreadcrumbItem [] = [
13
13
{
14
14
title: ' Appearance settings' ,
15
- href: appearance ().url ,
15
+ href: edit ().url ,
16
16
},
17
17
];
18
18
</script >
Original file line number Diff line number Diff line change 20
20
21
21
Route::get ('settings/appearance ' , function () {
22
22
return Inertia::render ('settings/Appearance ' );
23
- })->name ('appearance ' );
23
+ })->name ('appearance.edit ' );
24
24
});
You can’t perform that action at this time.
0 commit comments