Skip to content

Commit 6906a22

Browse files
authored
Merge branch 'main' into prettier-tailwind
2 parents 07145a3 + c361438 commit 6906a22

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/Http/Controllers/Auth/RegisteredUserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

resources/js/components/app-logo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
);

resources/js/components/nav-main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

resources/js/pages/settings/password.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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">

0 commit comments

Comments
 (0)