Skip to content

Commit

Permalink
fix: removed unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Apr 30, 2024
1 parent f13ea89 commit 4d610cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions webapp/src/pages/Signup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default function Signup() {
const [showPassword, setShowPassword] = useState(false);
const [showConfirmPassword, setShowConfirmPassword] = useState(false);
const [errorMessage, setErrorMessage] = useState(null);
const [isSubmitting, setIsSubmitting] = useState(false);

const navigate = useNavigate();
const { t, i18n } = useTranslation();
Expand All @@ -35,7 +34,6 @@ export default function Signup() {
}

const sendRegistration = async () => {
setIsSubmitting(true);
if (confirmPassword.trim() === "") {
setErrorMessage({ type: t("error.conflict.type"), message: t("error.empty_password") });
return;
Expand Down

0 comments on commit 4d610cb

Please sign in to comment.