Formatting

This commit is contained in:
Lucas Oliveira 2024-03-21 15:35:58 +01:00
commit 1604680ab9

View file

@ -126,7 +126,9 @@ export default function InputComponent({
// in ascii encoding, so we need to handle it // in ascii encoding, so we need to handle it
if (password) { if (password) {
// check if all chars are • // check if all chars are •
if (e.target.value.split("").every((char) => char === "•")) { if (
e.target.value.split("").every((char) => char === "•")
) {
setErrorData({ setErrorData({
title: `Invalid characters: ${e.target.value}`, title: `Invalid characters: ${e.target.value}`,
list: [ list: [