From f6b19275dcd43c5b8f60b8eecb284a0dcadc10c1 Mon Sep 17 00:00:00 2001 From: soju Date: Thu, 11 May 2023 00:39:06 -0700 Subject: [PATCH] fix: advanced not default --- components/layouts/Article.tsx | 10 +++++----- state/user/useUserStore.ts | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/layouts/Article.tsx b/components/layouts/Article.tsx index b713794..e13c6bf 100644 --- a/components/layouts/Article.tsx +++ b/components/layouts/Article.tsx @@ -1,12 +1,12 @@ -import React, { useEffect } from "react"; -import { motion } from "framer-motion"; -import Navbar from "../Navbar"; -import { GiPeaceDove } from "react-icons/gi"; import * as Toast from "@radix-ui/react-toast"; +import { motion } from "framer-motion"; +import React from "react"; import { BiCheck, BiLinkExternal, BiX } from "react-icons/bi"; +import { GiPeaceDove } from "react-icons/gi"; import { useNetwork } from "wagmi"; import { transitionAnimation } from "../../lib/utils/transitionAnimation"; import { useUserStore } from "../../state/user/useUserStore"; +import Navbar from "../Navbar"; const Article = ({ children }: { children: React.ReactNode }) => { const { isOpen, setOpen, toastContent } = useUserStore(); @@ -20,7 +20,7 @@ const Article = ({ children }: { children: React.ReactNode }) => { exit="hidden" className="relative w-full" > -
+
( }) ); }, - showAdvanced: true, + showAdvanced: false, setShowAdvanced: (showAdvanced) => set(() => ({ showAdvanced: showAdvanced })), }),