From 0bcf57d3601679bab075205067e2c7f11b3bf1a8 Mon Sep 17 00:00:00 2001 From: Emma Mansell <73774046+7emansell@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:18:38 -0500 Subject: [PATCH] More clean up --- src/components/MyAccount/NewSettings/UsernameForm.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/MyAccount/NewSettings/UsernameForm.tsx b/src/components/MyAccount/NewSettings/UsernameForm.tsx index 6857b1915..1b3370b6f 100644 --- a/src/components/MyAccount/NewSettings/UsernameForm.tsx +++ b/src/components/MyAccount/NewSettings/UsernameForm.tsx @@ -47,9 +47,6 @@ const UsernameForm = ({ patron, usernameState }: UsernameFormProps) => { const { setUsernameStatus, setUsernameStatusMessage } = usernameState const validateUsername = (username: string) => { - if (!(username.length > 4)) { - return false - } const usernameRegex = /^[a-zA-Z0-9]{5,15}$/ return usernameRegex.test(username) }