Skip to content

Commit

Permalink
feat: mrgnlend cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
k0beLeenders authored and chambaz committed Oct 28, 2024
1 parent 4632a4b commit 67304d6
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 1,199 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@ import Image from "next/image";
import Link from "next/link";

import { IMAGE_CDN_URL } from "~/config/constants";
import { useUiStore } from "~/store";
import { useWallet } from "~/components/wallet-v2/hooks/use-wallet.hook";

import { Button } from "~/components/ui/button";
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from "~/components/ui/dialog";

const announcementLabel = "rlb-notice" as const;

export const AnnouncementsDialog = () => {
const [isOpen, setIsOpen] = React.useState(false);
const { connected } = useWallet();
const [isWalletOpen] = useUiStore((state) => [state.isWalletOpen]);

const closeDialog = React.useCallback(() => {
localStorage.setItem("mrgnAnnouncementPopup", announcementLabel);
Expand Down
Loading

0 comments on commit 67304d6

Please sign in to comment.