Spaces:
Running
Running
hide followup
Browse files
components/editor/ask-ai/index.tsx
CHANGED
|
@@ -426,22 +426,24 @@ export function AskAI({
|
|
| 426 |
open={openProModal}
|
| 427 |
onClose={() => setOpenProModal(false)}
|
| 428 |
/>
|
| 429 |
-
|
| 430 |
-
<
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
|
|
|
|
|
|
|
| 445 |
</div>
|
| 446 |
<audio ref={audio} id="audio" className="hidden">
|
| 447 |
<source src="/success.mp3" type="audio/mpeg" />
|
|
|
|
| 426 |
open={openProModal}
|
| 427 |
onClose={() => setOpenProModal(false)}
|
| 428 |
/>
|
| 429 |
+
{html !== defaultHTML && (
|
| 430 |
+
<div className="absolute top-0 right-0 -translate-y-[calc(100%+8px)] select-none text-xs text-neutral-400 flex items-center justify-center gap-2 bg-neutral-800 border border-neutral-700 rounded-md p-1 pr-2.5">
|
| 431 |
+
<label
|
| 432 |
+
htmlFor="follow-up-checkbox"
|
| 433 |
+
className="flex items-center gap-1.5 cursor-pointer"
|
| 434 |
+
>
|
| 435 |
+
<Checkbox
|
| 436 |
+
id="follow-up-checkbox"
|
| 437 |
+
checked={isFollowUp}
|
| 438 |
+
onCheckedChange={(e) => {
|
| 439 |
+
setIsFollowUp(e === true);
|
| 440 |
+
}}
|
| 441 |
+
/>
|
| 442 |
+
Follow-Up
|
| 443 |
+
</label>
|
| 444 |
+
<FollowUpTooltip />
|
| 445 |
+
</div>
|
| 446 |
+
)}
|
| 447 |
</div>
|
| 448 |
<audio ref={audio} id="audio" className="hidden">
|
| 449 |
<source src="/success.mp3" type="audio/mpeg" />
|