Type fixes in frontend, Register & YourProjectsPage
This commit is contained in:
parent
8eb23bf7f9
commit
e0de61dd94
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ export default function Register(): JSX.Element {
|
|||
<InputField
|
||||
label="Username"
|
||||
type="text"
|
||||
value={username}
|
||||
value={username ?? ""}
|
||||
onChange={(e) => {
|
||||
setUsername(e.target.value);
|
||||
}}
|
||||
|
@ -56,7 +56,7 @@ export default function Register(): JSX.Element {
|
|||
<InputField
|
||||
label="Password"
|
||||
type="password"
|
||||
value={password}
|
||||
value={password ?? ""}
|
||||
onChange={(e) => {
|
||||
setPassword(e.target.value);
|
||||
}}
|
||||
|
|
|
@ -53,7 +53,7 @@ function UserProjectPage(): JSX.Element {
|
|||
|
||||
const buttons = <></>;
|
||||
|
||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
||||
return <BasicWindow content={content} buttons={buttons} />;
|
||||
}
|
||||
|
||||
export default UserProjectPage;
|
||||
|
|
Loading…
Reference in a new issue