Use queried username for length check

This commit is contained in:
2023-10-22 17:03:24 -04:00
parent ed72f6fc9b
commit bbb03433ed

View File

@ -73,7 +73,7 @@ export default function () {
setLoading(true);
setHistory([]);
if (username.length < 4) {
if (queriedUsername.length < 4) {
setLoading(false);
return toast({
title: "Validation Error",