added toust and cleaned code

This commit is contained in:
IO420
2025-10-01 15:29:23 -06:00
parent ac43d6a1ff
commit b1165c8e70
34 changed files with 152 additions and 479 deletions
@@ -19,11 +19,10 @@ function SearchUser(props: urlProp) {
}
}, [props.value]);
const handleSubmit = (e: React.FormEvent) => {
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
const params = new URLSearchParams(searchParams.toString());
if (numAcount) {
params.delete("error");
params.set("numAcount", `${numAcount}`);
router.push(`${pathname}?${params.toString()}`);
}