Greff3 commited on
Commit
1969d66
·
verified ·
1 Parent(s): 8b3fe5b

Update src/components/preview/preview.tsx

Browse files
Files changed (1) hide show
  1. src/components/preview/preview.tsx +3 -3
src/components/preview/preview.tsx CHANGED
@@ -39,7 +39,7 @@ function Preview({
39
  if (isAiWorking) {
40
  e.preventDefault();
41
  e.stopPropagation();
42
- toast.warn("Please wait for the AI to finish working.");
43
  }
44
  }}
45
  >
@@ -58,11 +58,11 @@ function Preview({
58
  onClick={() => setView("editor")}
59
  >
60
  <FaLaptopCode />
61
- Back to Editor
62
  </button>
63
  {html === defaultHTML && (
64
  <a
65
- href="https://huggingface.co/spaces/victor/deepsite-gallery"
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
  >