🔨 refactor(UserManagementModal/index.tsx): add placeholder text to username input field for better user experience
🔨 refactor(loginPage/index.tsx): remove unnecessary link to attribute in the Sign Up button
This commit is contained in:
commit
d9d0513a91
2 changed files with 3 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ import {
|
||||||
} from "../../types/components";
|
} from "../../types/components";
|
||||||
import { nodeIconsLucide } from "../../utils/styleUtils";
|
import { nodeIconsLucide } from "../../utils/styleUtils";
|
||||||
import BaseModal from "../baseModal";
|
import BaseModal from "../baseModal";
|
||||||
|
import InputComponent from "../../components/inputComponent";
|
||||||
|
|
||||||
export default function UserManagementModal({
|
export default function UserManagementModal({
|
||||||
title,
|
title,
|
||||||
|
|
@ -107,6 +108,7 @@ export default function UserManagementModal({
|
||||||
value={username}
|
value={username}
|
||||||
className="primary-input"
|
className="primary-input"
|
||||||
required
|
required
|
||||||
|
placeholder="Username"
|
||||||
/>
|
/>
|
||||||
</Form.Control>
|
</Form.Control>
|
||||||
<Form.Message match="valueMissing" className="field-invalid">
|
<Form.Message match="valueMissing" className="field-invalid">
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ export default function LoginPage(): JSX.Element {
|
||||||
</Form.Submit>
|
</Form.Submit>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
<Link to="/signup">
|
<Link to="">
|
||||||
<Button className="w-full" variant="outline">
|
<Button className="w-full" variant="outline">
|
||||||
Don't have an account? <b>Sign Up</b>
|
Don't have an account? <b>Sign Up</b>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue