From 5928caa6fd281db1fbb4cf65bd20634eebe5f104 Mon Sep 17 00:00:00 2001 From: Daniel Whiffing Date: Mon, 9 Sep 2024 11:38:03 -0400 Subject: [PATCH] Adds logout confirmation --- app/page.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 76c237d..fdfbe24 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -10,6 +10,7 @@ import { ContractItem } from "@/components/ContractItem"; import { useContracts } from "@/utils/useContracts"; import { ScrollArea } from "@/components/ui/scroll-area"; import { EditContractModal } from "@/components/EditContractModal"; +import { ConfirmAlert } from "@/components/ConfirmAlert"; export default function Page() { const { contracts } = useContracts(); @@ -60,11 +61,15 @@ export default function Page() {
-
+
- + Logout} + description="Are you sure you want to logout?" + />