Greff3 commited on
Commit
6c4af19
·
verified ·
1 Parent(s): 3874615

Update src/components/App.tsx

Browse files
Files changed (1) hide show
  1. src/components/App.tsx +3 -3
src/components/App.tsx CHANGED
@@ -167,11 +167,11 @@ function App() {
167
  <Header
168
  onReset={() => {
169
  if (isAiWorking) {
170
- toast.warn("Please wait for the AI to finish working.");
171
  return;
172
  }
173
  if (
174
- window.confirm("You're about to reset the editor. Are you sure?")
175
  ) {
176
  setHtml(defaultHTML);
177
  setError(false);
@@ -200,7 +200,7 @@ function App() {
200
  if (isAiWorking) {
201
  e.preventDefault();
202
  e.stopPropagation();
203
- toast.warn("Please wait for the AI to finish working.");
204
  }
205
  }}
206
  >
 
167
  <Header
168
  onReset={() => {
169
  if (isAiWorking) {
170
+ toast.warn("Пожалуйста, подождите, пока ИИ закончит работу");
171
  return;
172
  }
173
  if (
174
+ window.confirm("Вы собираетесь перезагрузить редактор. Вы уверены?")
175
  ) {
176
  setHtml(defaultHTML);
177
  setError(false);
 
200
  if (isAiWorking) {
201
  e.preventDefault();
202
  e.stopPropagation();
203
+ toast.warn("Пожалуйста, подождите, пока ИИ закончит работу");
204
  }
205
  }}
206
  >