From c95aa8c777dc045ec3485b823f089246fe8e96b7 Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Tue, 24 Dec 2024 13:17:27 -0600 Subject: [PATCH] fix: new domain dialog --- src/components/misc/NewDomainDialog.tsx | 54 ++++++++++++------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/components/misc/NewDomainDialog.tsx b/src/components/misc/NewDomainDialog.tsx index 19658f3..d7426bb 100644 --- a/src/components/misc/NewDomainDialog.tsx +++ b/src/components/misc/NewDomainDialog.tsx @@ -31,38 +31,38 @@ import { Button } from "@/components/ui/button"; import { - Dialog, - DialogContent, - DialogDescription, - DialogFooter, - DialogTitle, + Dialog, + DialogContent, + DialogDescription, + DialogFooter, + DialogTitle, } from "@/components/ui/dialog"; import { useSearchParams } from "next/navigation"; import { useEffect, useState } from "react"; export default function NewDomainDialog() { - const searchParams = useSearchParams(); - const toShow = searchParams?.get("newDomain") === "true"; - const [open, setOpen] = useState(false); + const searchParams = useSearchParams(); + const toShow = searchParams?.get("newDomain") === "true"; + const [open, setOpen] = useState(false); - useEffect(() => { - if (toShow) setOpen(true); - }, [toShow]); + useEffect(() => { + if (toShow) setOpen(true); + }, [toShow]); - return ( - - - We've moved domains! - - We have changed our domain from list.mlnehut.com to{" "} - mhsf.app. Thank you for your continued support. We'd also - like to thank Tarna for providing us with a domain we can use for the - short-term. - - - - - - - ); + return ( + + + We've moved domains! + + We have changed our domain from list.mlnehut.com to{" "} + mhsf.app. Thank you for your continued support. We'd also + like to thank Tarna for providing us with a domain we can use for the + short-term. + + + + + + + ); }