Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
add note about OpenAI API
Abi Raja91934ecae915
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsxindex 1c7f1310..a7910b9e 100644--- a/frontend/src/App.tsx+++ b/frontend/src/App.tsx@@ -30,6 +30,8 @@ import { USER_CLOSE_WEB_SOCKET_CODE } from "./constants";import CodeTab from "./components/CodeTab";import OutputSettingsSection from "./components/OutputSettingsSection";+const IS_OPENAI_DOWN = false;+function App() {const [appState, setAppState] = useState<AppState>(AppState.INITIAL);const [generatedCode, setGeneratedCode] = useState<string>("");@@ -209,6 +211,13 @@ function App() {<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) && (<>