diff --git a/components/transferForm.tsx b/components/transferForm.tsx
index ffbf713..320a160 100644
--- a/components/transferForm.tsx
+++ b/components/transferForm.tsx
@@ -546,9 +546,7 @@ function TransferForm(
id="top"
>
;
- hasBanner: boolean;
delegatorAddresses: string[] | undefined;
connectedDapps: {
[address: string]: {
@@ -77,7 +76,6 @@ let emptyState = (): tezosState => {
accountInfo: null,
connection,
aliasTrie: new Trie
(),
- hasBanner: true,
delegatorAddresses: undefined,
connectedDapps: {},
proposalRefresher: 0,
@@ -127,10 +125,6 @@ type action =
keepOld: boolean;
};
}
- | {
- type: "setBanner";
- payload: boolean;
- }
| {
type: "addDapp";
payload: {
@@ -356,11 +350,7 @@ function reducer(state: tezosState, action: action): tezosState {
return newState;
}
- case "setBanner":
- return {
- ...state,
- hasBanner: action.payload,
- };
+
case "setDelegatorAddresses":
return { ...state, delegatorAddresses: action.payload };
case "refreshProposals":
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 326049f..d912aeb 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -6,7 +6,6 @@ import type { AppProps } from "next/app";
import { usePathname } from "next/navigation";
import { useRouter } from "next/router";
import { useReducer, useEffect, useState } from "react";
-import Banner from "../components/Banner";
import LoginModal from "../components/LoginModal";
import PoeModal from "../components/PoeModal";
import Sidebar from "../components/Sidebar";
@@ -241,14 +240,6 @@ export default function App({ Component, pageProps }: AppProps) {
/>
)}
-
- Make sure the URL is
- {PREFERED_NETWORK === NetworkType.MAINNET
- ? "tzsafe.marigold.dev"
- : PREFERED_NETWORK === NetworkType.GHOSTNET
- ? "ghostnet.tzsafe.marigold.dev"
- : "a valid URL"}
-
{isSidebarHidden ? null : (
@@ -259,11 +250,7 @@ export default function App({ Component, pageProps }: AppProps) {
/>
)}
-