From 04572a8e5081b1e4871e273cde9dbaaa44c52fe0 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 13 Mar 2024 21:43:44 +0000
Subject: structure: Create apps dir and copy tooling dir from t3-turbo repo

---
 .../browser-extension/src/NotConfiguredPage.tsx    | 47 ----------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 packages/browser-extension/src/NotConfiguredPage.tsx

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

diff --git a/packages/browser-extension/src/NotConfiguredPage.tsx b/packages/browser-extension/src/NotConfiguredPage.tsx
deleted file mode 100644
index fc5c8f47..00000000
--- a/packages/browser-extension/src/NotConfiguredPage.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import { useEffect, useState } from "react";
-import { useNavigate } from "react-router-dom";
-import usePluginSettings from "./utils/settings";
-import Logo from "./Logo";
-
-export default function NotConfiguredPage() {
-  const navigate = useNavigate();
-
-  const { settings, setSettings } = usePluginSettings();
-
-  const [error, setError] = useState("");
-  const [serverAddress, setServerAddress] = useState(settings.address);
-  useEffect(() => {
-    setServerAddress(settings.address);
-  }, [settings.address]);
-
-  const onSave = () => {
-    if (serverAddress == "") {
-      setError("Server address is required");
-      return;
-    }
-    setSettings((s) => ({ ...s, address: serverAddress }));
-    navigate("/signin");
-  };
-
-  return (
-    <div className="flex flex-col space-y-2">
-      <Logo />
-      <span className="pt-3">
-        To use the plugin, you need to configure it first.
-      </span>
-      <p className="text-red-500">{error}</p>
-      <div className="flex gap-2">
-        <label className="my-auto">Server Address</label>
-        <input
-          name="address"
-          value={serverAddress}
-          className="h-8 flex-1 rounded-lg border border-gray-300 p-2"
-          onChange={(e) => setServerAddress(e.target.value)}
-        />
-      </div>
-      <button className="bg-black text-white" onClick={onSave}>
-        Configure
-      </button>
-    </div>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

