Skip to content

Commit

Permalink
fix: advanced not default
Browse files Browse the repository at this point in the history
  • Loading branch information
zkSoju committed May 11, 2023
1 parent 7d8774a commit f6b1927
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions components/layouts/Article.tsx
Original file line number Diff line number Diff line change
@@ -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();
Expand All @@ -20,7 +20,7 @@ const Article = ({ children }: { children: React.ReactNode }) => {
exit="hidden"
className="relative w-full"
>
<div className="mx-auto flex min-h-screen w-full max-w-xl flex-col items-center overflow-hidden">
<div className="mx-auto flex h-screen w-full max-w-xl flex-col items-center overflow-hidden">
<Toast.Provider>
<Toast.Root
className="group relative z-[9999] flex items-center rounded-sm border border-white/5 bg-pita p-2 shadow-damn rdx-state-closed:animate-hide rdx-state-open:animate-slideIn"
Expand Down
6 changes: 3 additions & 3 deletions state/user/useUserStore.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import create from "zustand";
import produce from "immer";
import { ToastContent } from "../../lib/types";
import create from "zustand";
import { devtools } from "zustand/middleware";
import { ToastContent } from "../../lib/types";

interface UserStoreState {
activeTab: string;
Expand Down Expand Up @@ -41,7 +41,7 @@ export const useUserStore = create<UserStoreState>(
})
);
},
showAdvanced: true,
showAdvanced: false,
setShowAdvanced: (showAdvanced) =>
set(() => ({ showAdvanced: showAdvanced })),
}),
Expand Down

1 comment on commit f6b1927

@vercel
Copy link

@vercel vercel bot commented on f6b1927 May 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dove-interface – ./

dove-interface-apeiro.vercel.app
dove-interface-git-main-apeiro.vercel.app

Please sign in to comment.