From 7e65a8a11249cec03d5c431444f72f714a762be7 Mon Sep 17 00:00:00 2001 From: Tamara Date: Mon, 12 Feb 2024 01:03:59 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D1=81=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=B0=D1=80=D1=82=D0=B8=D0=BD=D0=BE?= =?UTF-8?q?=D0=BA=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/questions/actions.ts | 2 +- src/stores/quizes/actions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/questions/actions.ts b/src/stores/questions/actions.ts index 0aa327e2..263642bc 100644 --- a/src/stores/questions/actions.ts +++ b/src/stores/questions/actions.ts @@ -414,7 +414,7 @@ export const uploadQuestionImage = async ( const imageId = values[0]; const imageUrl = - process.env.REACT_APP_DOMAIN + `/squizimages/${quizQid}/${imageId}`; + `https://storage.yandexcloud.net/squizimages/${quizQid}/${imageId}`; updateQuestion(questionId, (question) => { updateFn(question, imageUrl); diff --git a/src/stores/quizes/actions.ts b/src/stores/quizes/actions.ts index 187a3206..570d8cee 100644 --- a/src/stores/quizes/actions.ts +++ b/src/stores/quizes/actions.ts @@ -269,7 +269,7 @@ export const uploadQuizImage = async ( updateQuiz(quizId, (quiz) => { updateFn( quiz, - process.env.REACT_APP_DOMAIN + `/squizimages/${quiz.qid}/${imageId}`, + `https://storage.yandexcloud.net/squizimages/${quiz.qid}/${imageId}`, ); }); } catch (error) { From cf6e2c8cb12e26fee4e433bbaa08607cab060caf Mon Sep 17 00:00:00 2001 From: Nastya Date: Mon, 12 Feb 2024 23:58:00 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=BD=D0=B0=D1=8F=20?= =?UTF-8?q?=D1=88=D0=B8=D1=80=D0=B8=D0=BD=D0=B0=20=D0=BD=D0=B0=D0=B7=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B2=20=D0=BA=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D0=BE=D1=87=D0=BA=D0=B5=20=D0=BA=D0=B2=D0=B8=D0=B7=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/createQuize/QuizCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/createQuize/QuizCard.tsx b/src/pages/createQuize/QuizCard.tsx index 858cc3c8..8de7c7af 100755 --- a/src/pages/createQuize/QuizCard.tsx +++ b/src/pages/createQuize/QuizCard.tsx @@ -93,7 +93,7 @@ export default function QuizCard({ textOverflow: "ellipsis", overflow: "hidden", whiteSpace: "nowrap", - widows: "100%", + width: "100%", }} variant="h5" >