Skip to content

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

Python

remove tips link

Abi Raja0c478b0aebfc
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index aafc4607..5afba170 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -13,7 +13,7 @@ import toast from "react-hot-toast";
import { Stack } from "./lib/stacks";
import { CodeGenerationModel } from "./lib/models";
import useBrowserTabIndicator from "./hooks/useBrowserTabIndicator";
-import TipLink from "./components/messages/TipLink";
+// import TipLink from "./components/messages/TipLink";
import { useAppStore } from "./store/app-store";
import { useProjectStore } from "./store/project-store";
import Sidebar from "./components/sidebar/Sidebar";
@@ -367,7 +367,7 @@ function App() {
{showBetterModelMessage && <DeprecationMessage />}
{/* Show tip link until coding is complete */}
- {appState !== AppState.CODE_READY && <TipLink />}
+ {/* {appState !== AppState.CODE_READY && <TipLink />} */}
{IS_RUNNING_ON_CLOUD && !settings.openAiApiKey && <OnboardingNote />}
diff --git a/frontend/src/components/sidebar/Sidebar.tsx b/frontend/src/components/sidebar/Sidebar.tsx
index 913df1fe..f06dabc1 100644
--- a/frontend/src/components/sidebar/Sidebar.tsx
+++ b/frontend/src/components/sidebar/Sidebar.tsx
@@ -6,7 +6,7 @@ import { AppState } from "../../types";
import CodePreview from "../preview/CodePreview";
import Spinner from "../core/Spinner";
import KeyboardShortcutBadge from "../core/KeyboardShortcutBadge";
-import TipLink from "../messages/TipLink";
+// import TipLink from "../messages/TipLink";
import SelectAndEditModeToggleButton from "../select-and-edit/SelectAndEditModeToggleButton";
import { Button } from "../ui/button";
import { Textarea } from "../ui/textarea";
@@ -131,9 +131,9 @@ function Sidebar({
</Button>
{showSelectAndEditFeature && <SelectAndEditModeToggleButton />}
</div>
- <div className="flex justify-end items-center mt-2">
+ {/* <div className="flex justify-end items-center mt-2">
<TipLink />
- </div>
+ </div> */}
</div>
)}