🔨 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:
Cristhian Zanforlin Lousa 2023-08-14 16:59:38 -03:00
commit d9d0513a91
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,7 @@ import {
} from "../../types/components";
import { nodeIconsLucide } from "../../utils/styleUtils";
import BaseModal from "../baseModal";
import InputComponent from "../../components/inputComponent";
export default function UserManagementModal({
title,
@ -107,6 +108,7 @@ export default function UserManagementModal({
value={username}
className="primary-input"
required
placeholder="Username"
/>
</Form.Control>
<Form.Message match="valueMissing" className="field-invalid">

View file

@ -131,7 +131,7 @@ export default function LoginPage(): JSX.Element {
</Form.Submit>
</div>
<div className="w-full">
<Link to="/signup">
<Link to="">
<Button className="w-full" variant="outline">
Don't have an account?&nbsp;<b>Sign Up</b>
</Button>