Skip to content

Commit

Permalink
feat: add popup
Browse files Browse the repository at this point in the history
  • Loading branch information
naturexie committed Jan 30, 2025
1 parent 38f39c7 commit 45e1270
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useEffect, useState } from "react";
import Head from "next/head";
import { Provider } from "react-redux";
import Decimal from "decimal.js";
import type { AppProps } from "next/app";
import { PersistGate } from "redux-persist/integration/react";
import { init, ErrorBoundary } from "@sentry/react";
Expand Down Expand Up @@ -37,12 +36,7 @@ import { fetchAllPools } from "../redux/poolSlice";
import "./slip.css";
import { get_blocked } from "../api/get-blocked";
import Popup from "../components/popup";
import {
getMarginAccountSupplied,
getMarginAccountSuppliedMEME,
} from "../redux/marginAccountSelectors";
import BalanceReminder from "../components/BalanceReminder";
import { useMarginAccount } from "../hooks/useMarginAccount";

ModalReact.defaultStyles = {
overlay: {
Expand Down Expand Up @@ -161,12 +155,12 @@ function Upgrade({ Component, pageProps }) {
</div>
) : (
<Layout>
{/* <Popup className="lg:hidden" /> */}
<Popup className="lg:hidden" />
<Init />
<Modal />
<ToastMessage />
<Component {...pageProps} />
{/* <Popup className="xsm:hidden" /> */}
<Popup className="xsm:hidden" />
<BalanceReminder />
<RpcList />
<PubTestModal />
Expand Down

0 comments on commit 45e1270

Please sign in to comment.