Skip to content

Commit 27fe908

Browse files
authored
Update README.md
1 parent 6715bb0 commit 27fe908

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ Now, you want to show `auth.welcome` and `auth.greeting` on the frontend using V
9191
```php
9292
use Inertia\Inertia;
9393

94-
public function dashboard()
94+
public function login()
9595
{
9696
// Load the auth.php language file
9797
syncLangFiles('auth');
9898

99-
return Inertia::render('Dashboard');
99+
return Inertia::render('Login');
100100
}
101101
```
102102

@@ -129,7 +129,7 @@ const { trans, __ } = useLang()
129129
import React from 'react'
130130
import { useLang } from '@/hooks/useLang'
131131

132-
export default function Dashboard() {
132+
export default function Login() {
133133
const { trans, __ } = useLang()
134134

135135
return (

0 commit comments

Comments
 (0)