8000 fix: typo, username should be user_name, fullname should be full_name · kodepandai/lunox@1aee9eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 1aee9eb

Browse files
committed
fix: typo, username should be user_name, fullname should be full_name
1 parent 7144774 commit 1aee9eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/resources/view/admin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Admin = ({
1717
}) => {
1818
return (
1919
<Layout version={version}>
20-
<h2 className="rounded bg-green-400 p-2">Welcome {user?.fullname}</h2>
20+
<h2 className="rounded bg-green-400 p-2">Welcome {user?.full_name}</h2>
2121
<div className="flex justify-center flex-row">
2222
<a href="/logout" className="p-4 underline">
2323
Logout

app/resources/view/login.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const Login = ({ version = {} }) => {
2121
<Input
2222
type="text"
2323
name="user_name"
24-
placeholder="username or email"
25-
defaultValue={old("username")}
24+
placeholder="username"
25+
defaultValue={old("user_name")}
2626
/>
2727
<Input
2828
type="password"

0 commit comments

Comments
 (0)
0