From ada7aaa38eed9b033fbe0dd8fea36a7261f4782b Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Mon, 1 Jul 2024 21:58:45 +0900 Subject: [PATCH] feat: set isAdmin atom --- utils/atom.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/utils/atom.tsx b/utils/atom.tsx index b59f5f2..1524799 100644 --- a/utils/atom.tsx +++ b/utils/atom.tsx @@ -1,6 +1,3 @@ import { atom } from "jotai"; -export const isAdminAtom = atom({ - key: "isAdminState", - default: false, -}); +export const isAdminAtom = atom(false);