From 5aadc3e3043e1033f870530b7473ba485e0933b5 Mon Sep 17 00:00:00 2001
From: abefernan <44572727+abefernan@users.noreply.github.com>
Date: Thu, 8 Feb 2024 16:47:25 +0100
Subject: [PATCH] Add migration warning
---
components/MigrationWarning.tsx | 22 ++++++++++++++++++++++
pages/_app.tsx | 2 ++
2 files changed, 24 insertions(+)
create mode 100644 components/MigrationWarning.tsx
diff --git a/components/MigrationWarning.tsx b/components/MigrationWarning.tsx
new file mode 100644
index 00000000..45397c7a
--- /dev/null
+++ b/components/MigrationWarning.tsx
@@ -0,0 +1,22 @@
+import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
+
+export default function MigrationWarning() {
+ return (
+
+ Warning!
+
+ This app will no longer be found at this url from March the 1st.
+
+
+ It will instead be accessible from{" "}
+
+ https://multisig.confio.run
+
+ .
+
+
+ Any pending transactions on this app will be lost when that time arrives.
+
+
+ );
+}
diff --git a/pages/_app.tsx b/pages/_app.tsx
index f0d96ac6..51357acc 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -1,4 +1,5 @@
import Header from "@/components/Header";
+import MigrationWarning from "@/components/MigrationWarning";
import { Toaster } from "@/components/ui/toaster";
import { TooltipProvider } from "@/components/ui/tooltip";
import ThemeProvider from "@/context/ThemesContext";
@@ -12,6 +13,7 @@ export default function MultisigApp({ Component, pageProps }: AppProps) {
+