remove unused UI

This commit is contained in:
Abi Raja 2024-07-19 16:01:30 -04:00
parent 54b59c85d6
commit 3f6fcdea25

View File

@ -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) && (
<>