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
|
<InputField
|
||||||
label="Username"
|
label="Username"
|
||||||
type="text"
|
type="text"
|
||||||
value={username}
|
value={username ?? ""}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setUsername(e.target.value);
|
setUsername(e.target.value);
|
||||||
}}
|
}}
|
||||||
|
@ -56,7 +56,7 @@ export default function Register(): JSX.Element {
|
||||||
<InputField
|
<InputField
|
||||||
label="Password"
|
label="Password"
|
||||||
type="password"
|
type="password"
|
||||||
value={password}
|
value={password ?? ""}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setPassword(e.target.value);
|
setPassword(e.target.value);
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -53,7 +53,7 @@ function UserProjectPage(): JSX.Element {
|
||||||
|
|
||||||
const buttons = <></>;
|
const buttons = <></>;
|
||||||
|
|
||||||
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
return <BasicWindow content={content} buttons={buttons} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default UserProjectPage;
|
export default UserProjectPage;
|
||||||
|
|
Loading…
Reference in a new issue