Skip to content

Commit

Permalink
fix: typo, username should be user_name, fullname should be full_name
Browse files Browse the repository at this point in the history
  • Loading branch information
axmad386 committed Aug 25, 2022
1 parent 7144774 commit 1aee9eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/resources/view/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Admin = ({
}) => {
return (
<Layout version={version}>
<h2 className="rounded bg-green-400 p-2">Welcome {user?.fullname}</h2>
<h2 className="rounded bg-green-400 p-2">Welcome {user?.full_name}</h2>
<div className="flex justify-center flex-row">
<a href="/logout" className="p-4 underline">
Logout
Expand Down
4 changes: 2 additions & 2 deletions app/resources/view/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const Login = ({ version = {} }) => {
<Input
type="text"
name="user_name"
placeholder="username or email"
defaultValue={old("username")}
placeholder="username"
defaultValue={old("user_name")}
/>
<Input
type="password"
Expand Down

0 comments on commit 1aee9eb

Please sign in to comment.