From 33c9e8bca54d753c7ea976dd178db0cd5408c218 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Tue, 13 Feb 2024 00:29:25 +0000
Subject: feature: A usable, yet ugly browser extension

---
 packages/browser-extension/src/App.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'packages/browser-extension/src/App.tsx')

diff --git a/packages/browser-extension/src/App.tsx b/packages/browser-extension/src/App.tsx
index 21fec92f..8a2c4920 100644
--- a/packages/browser-extension/src/App.tsx
+++ b/packages/browser-extension/src/App.tsx
@@ -1,4 +1,3 @@
-import { redirect } from "react-router-dom";
 import SavePage from "./SavePage";
 import usePluginSettings from "./settings";
 import { useNavigate } from "react-router-dom";
@@ -12,7 +11,7 @@ function App() {
   }
 
   if (!settings.apiKey || !settings.address) {
-    navigate("/settings");
+    navigate("/notconfigured");
     return;
   }
 
@@ -21,7 +20,7 @@ function App() {
       <SavePage settings={settings} />
       <hr />
       <div className="flex justify-end">
-        <button className="w-2/6" onClick={() => navigate("/settings")}>
+        <button className="w-2/6" onClick={() => navigate("/options")}>
           Settings
         </button>
       </div>
-- 
cgit v1.2.3-70-g09d2

