Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

remove unused UI

Abi Raja3f6fcdea25bc
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index e3b5b646..4fb97bfc 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -43,8 +43,6 @@ import SelectAndEditModeToggleButton from "./components/select-and-edit/SelectAn
import { useAppStore } from "./store/app-store";
import KeyboardShortcutBadge from "./components/core/KeyboardShortcutBadge";
-const IS_OPENAI_DOWN = false;
-
function App() {
const [appState, setAppState] = useState<AppState>(AppState.INITIAL);
const [generatedCode, setGeneratedCode] = useState<string>("");
@@ -464,13 +462,6 @@ function App() {
{IS_RUNNING_ON_CLOUD && !settings.openAiApiKey && <OnboardingNote />}
- {IS_OPENAI_DOWN && (
- <div className="bg-black text-white dark:bg-white dark:text-black p-3 rounded">
- OpenAI API is currently down. Try back in 30 minutes or later. We
- apologize for the inconvenience.
- </div>
- )}
-
{(appState === AppState.CODING ||
appState === AppState.CODE_READY) && (
<>