From 2c05eec74d7b54243b09ce1e2a7f72499a5843b4 Mon Sep 17 00:00:00 2001 From: Ryan Goree Date: Tue, 16 Jan 2024 15:40:51 -0600 Subject: [PATCH] Add uk redirect path --- src/App.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index ddc0e9c..d35b029 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -15,6 +15,8 @@ function App() { } /> } /> + {/* TODO: Remove hardcoded URL */} + } /> @@ -22,3 +24,9 @@ function App() { } export default App; + +function UKRedirect({ to }: { to: string }) { + console.log("Redirecting to", to); + window.location.replace(to); + return <>; +}