fix(ci): resolve format, lint and typecheck failures
This commit is contained in:
7 files changed
+67
-79
No files matched your search
@@ -18,8 +18,7 @@ export const PasswordRequirementsPopover = ({ password, children }: PropsWithChi
|
||||
const requirements = useRequirements();
|
||||
const strength = useStrength(password);
|
||||
const [popoverOpened, setPopoverOpened] = useState(false);
|
||||
const strengthColor =
|
||||
strengthColorMap.find(({ min }) => strength >= min)?.color ?? strengthColorMap[strengthColorMap.length - 1].color;
|
||||
const strengthColor = strengthColorMap.find(({ min }) => strength >= min)?.color ?? "dimmed";
|
||||
const checks = (
|
||||
<>
|
||||
{requirements.map((requirement) => (
|
||||
|
||||
Reference in new issue
Block a user