From f8e9c43a2acf96ae308013c246c4b14f372bde17 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Thu, 15 Jun 2023 12:01:02 +1000 Subject: [PATCH] Remove migration notification --- src/App.tsx | 7 ++---- src/MigrationNotification.tsx | 40 ----------------------------------- 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 src/MigrationNotification.tsx diff --git a/src/App.tsx b/src/App.tsx index d3a7494..b1e86fd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,6 @@ import { DatabaseProvider } from "./contexts/DatabaseContext"; import { UserIdProvider } from "./contexts/UserIdContext"; import { ToastProvider } from "./components/Toast"; -import { MigrationNotification } from "./MigrationNotification"; function App() { return ( @@ -25,14 +24,12 @@ function App() { - - {/* Legacy support camel case routes */} - + - + diff --git a/src/MigrationNotification.tsx b/src/MigrationNotification.tsx deleted file mode 100644 index bade90b..0000000 --- a/src/MigrationNotification.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import { useState } from "react"; -import { Box, Close, Link, Text } from "theme-ui"; - -export function MigrationNotification() { - const [closed, setClosed] = useState(false); - - if (closed) { - return null; - } - - return ( - - - - The new era of Owlbear Rodeo is coming on July 18th. Make sure to - migrate your data before July 18th.{" "} - - Read more - - - setClosed(true)} sx={{ minWidth: "32px" }} /> - - - ); -}