File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
app/Http/Controllers/Auth Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,6 @@ public function store(Request $request): RedirectResponse
4646
4747 Auth::login ($ user );
4848
49- return to_route ( 'dashboard ' );
49+ return redirect ()-> intended ( route ( 'dashboard ' , absolute: false ) );
5050 }
5151}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default function AppLogo() {
77 < AppLogoIcon className = "size-5 fill-current text-white dark:text-black" />
88 </ div >
99 < div className = "ml-1 grid flex-1 text-left text-sm" >
10- < span className = "mb-0.5 truncate leading-none font-semibold" > Laravel Starter Kit</ span >
10+ < span className = "mb-0.5 truncate leading-tight font-semibold" > Laravel Starter Kit</ span >
1111 </ div >
1212 </ >
1313 ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export function NavMain({ items = [] }: { items: NavItem[] }) {
1010 < SidebarMenu >
1111 { items . map ( ( item ) => (
1212 < SidebarMenuItem key = { item . title } >
13- < SidebarMenuButton asChild isActive = { item . href === page . url } tooltip = { { children : item . title } } >
13+ < SidebarMenuButton asChild isActive = { page . url . startsWith ( item . href ) } tooltip = { { children : item . title } } >
1414 < Link href = { item . href } prefetch >
1515 { item . icon && < item . icon /> }
1616 < span > { item . title } </ span >
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export default function Password() {
5050
5151 return (
5252 < AppLayout breadcrumbs = { breadcrumbs } >
53- < Head title = "Profile settings" />
53+ < Head title = "Password settings" />
5454
5555 < SettingsLayout >
5656 < div className = "space-y-6" >
You can’t perform that action at this time.
0 commit comments