Update src/components/preview/preview.tsx
Browse files
src/components/preview/preview.tsx
CHANGED
|
@@ -39,7 +39,7 @@ function Preview({
|
|
| 39 |
if (isAiWorking) {
|
| 40 |
e.preventDefault();
|
| 41 |
e.stopPropagation();
|
| 42 |
-
toast.warn("
|
| 43 |
}
|
| 44 |
}}
|
| 45 |
>
|
|
@@ -58,11 +58,11 @@ function Preview({
|
|
| 58 |
onClick={() => setView("editor")}
|
| 59 |
>
|
| 60 |
<FaLaptopCode />
|
| 61 |
-
|
| 62 |
</button>
|
| 63 |
{html === defaultHTML && (
|
| 64 |
<a
|
| 65 |
-
href="https://
|
| 66 |
target="_blank"
|
| 67 |
className="bg-gray-200 text-gray-950 text-xs lg:text-sm font-medium py-2 px-3 lg:px-4 rounded-lg flex items-center gap-2 border border-gray-200 hover:bg-gray-300 transition-all duration-100 cursor-pointer"
|
| 68 |
>
|
|
|
|
| 39 |
if (isAiWorking) {
|
| 40 |
e.preventDefault();
|
| 41 |
e.stopPropagation();
|
| 42 |
+
toast.warn("Пожалуйста, подождите, пока ИИ закончит работу");
|
| 43 |
}
|
| 44 |
}}
|
| 45 |
>
|
|
|
|
| 58 |
onClick={() => setView("editor")}
|
| 59 |
>
|
| 60 |
<FaLaptopCode />
|
| 61 |
+
Назад к Редактору
|
| 62 |
</button>
|
| 63 |
{html === defaultHTML && (
|
| 64 |
<a
|
| 65 |
+
href="https://greff3-deepsite-gallery.static.hf.space"
|
| 66 |
target="_blank"
|
| 67 |
className="bg-gray-200 text-gray-950 text-xs lg:text-sm font-medium py-2 px-3 lg:px-4 rounded-lg flex items-center gap-2 border border-gray-200 hover:bg-gray-300 transition-all duration-100 cursor-pointer"
|
| 68 |
>
|