diff --git a/app/(dashboard)/devices/page.tsx b/app/(dashboard)/devices/page.tsx
index 97500c8..25878cb 100644
--- a/app/(dashboard)/devices/page.tsx
+++ b/app/(dashboard)/devices/page.tsx
@@ -23,6 +23,7 @@ export default async function Devices({
>({
queryKey: ["ATOLLS"],
- queryFn: () =>
- getAtolls(),
+ queryFn: () => getAtolls(),
placeholderData: keepPreviousData,
staleTime: 1,
});
@@ -38,29 +36,28 @@ export default function SignUpForm() {
message: "",
});
-
React.useEffect(() => {
- console.log(atoll)
+ console.log(atoll);
}, [atoll]);
-
const params = useSearchParams();
const phoneNumberFromUrl = params.get("phone_number");
const NUMBER_WITHOUT_DASH = phoneNumberFromUrl?.split("-").join("");
-
if (actionState?.db_error === "invalidPersonValidation") {
return (
<>
-
{actionState.message}
+
+ {actionState.message}
+
- Go to {" "}
+ Go to{" "}
login
>
- )
+ );
}
return (
@@ -126,8 +126,10 @@ export default function SignUpForm() {