From 81c351bdd7ddd8b0b5dc429a21514b87b6528689 Mon Sep 17 00:00:00 2001 From: Georgi 7DIGIT Date: Wed, 8 Nov 2023 14:08:44 +0200 Subject: [PATCH 1/9] Fix: duplications when displaying previous consultation messages --- src/screens/Consultation/Consultation.jsx | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/screens/Consultation/Consultation.jsx b/src/screens/Consultation/Consultation.jsx index 40f1ec3..3bcc723 100644 --- a/src/screens/Consultation/Consultation.jsx +++ b/src/screens/Consultation/Consultation.jsx @@ -152,20 +152,25 @@ export const Consultation = ({ navigation, route }) => { : false; }; - const chatDataQuery = useGetChatData(consultation?.chatId, (data) => { + const onGetChatDataSuccess = (data) => { setIsProviderInSession(checkHasProviderJoined(data.messages)); setMessages((prev) => ({ ...prev, currentSession: data.messages, })); - }); + }; + + const chatDataQuery = useGetChatData( + consultation?.chatId, + onGetChatDataSuccess + ); const clientId = chatDataQuery.data?.clientDetailId; const providerId = chatDataQuery.data?.providerDetailId; const allChatHistoryQuery = useGetAllChatHistoryData( providerId, clientId, - true + chatDataQuery.isFetched ); useEffect(() => { @@ -204,16 +209,23 @@ export const Consultation = ({ navigation, route }) => { useEffect(() => { if ( allChatHistoryQuery.data?.messages && + chatDataQuery.data?.messages && !messages.previousSessions.length ) { setMessages((prev) => { + const currentMessagesTimes = chatDataQuery.data.messages.map( + (x) => x.time + ); + const previousFiltered = allChatHistoryQuery.data.messages + .flat() + .filter((x) => !currentMessagesTimes.includes(x.time)); return { ...prev, - previousSessions: allChatHistoryQuery.data.messages, + previousSessions: previousFiltered, }; }); } - }, [allChatHistoryQuery.data]); + }, [allChatHistoryQuery.data, chatDataQuery.data]); useEffect(() => { if ( From 9d3957e3a145582c1ae494852609a1c96c8d6121 Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Fri, 8 Dec 2023 11:45:36 +0200 Subject: [PATCH 2/9] Fix: query string generation in getArticles function --- src/services/cms.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/cms.js b/src/services/cms.js index d39a1b6..6fed9be 100644 --- a/src/services/cms.js +++ b/src/services/cms.js @@ -62,7 +62,7 @@ function generateQuerryString(queryObj) { } if (queryObj.sortBy && queryObj.sortOrder) { - querry += `&sort[0]=${queryObj.sortBy}%3A${queryObj.sortOrder}`; + querry += `&sort=${queryObj.sortBy}:${queryObj.sortOrder}`; } if (queryObj.excludeId) { @@ -127,9 +127,9 @@ function generateQuerryString(queryObj) { async function getArticles(queryObj) { const querryString = generateQuerryString(queryObj); - + console.log(querryString); const { data } = await http.get(`${articlesEndpoint}${querryString}`); - + console.log(data + "data"); return { data }; } From 3a069d63cd659edb7bef4a979d6858a65fc60b06 Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Fri, 8 Dec 2023 12:06:35 +0200 Subject: [PATCH 3/9] Fix sorting in generateQuerryString function --- src/services/cms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/cms.js b/src/services/cms.js index 6fed9be..66a362b 100644 --- a/src/services/cms.js +++ b/src/services/cms.js @@ -62,7 +62,7 @@ function generateQuerryString(queryObj) { } if (queryObj.sortBy && queryObj.sortOrder) { - querry += `&sort=${queryObj.sortBy}:${queryObj.sortOrder}`; + querry += `&sort[0]=${queryObj.sortBy}:${queryObj.sortOrder}`; } if (queryObj.excludeId) { From e2b542c4129976a2896c35e8b9fbcc65dfbabc8f Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Thu, 21 Dec 2023 14:54:00 +0200 Subject: [PATCH 4/9] Remove: console.log statements in cms service --- src/services/cms.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/services/cms.js b/src/services/cms.js index 66a362b..b545aea 100644 --- a/src/services/cms.js +++ b/src/services/cms.js @@ -127,9 +127,7 @@ function generateQuerryString(queryObj) { async function getArticles(queryObj) { const querryString = generateQuerryString(queryObj); - console.log(querryString); const { data } = await http.get(`${articlesEndpoint}${querryString}`); - console.log(data + "data"); return { data }; } From 3b26a2b1af86e46a14b8dda86c6acbd689c08677 Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Thu, 21 Dec 2023 15:51:24 +0200 Subject: [PATCH 5/9] Create: DeleteChatHistory modal --- i18n.js | 4 ++ src/components/modals/TransparentModal.jsx | 2 + .../DeleteChatHistory/DeleteChatHistory.jsx | 57 +++++++++++++++++++ src/modals/DeleteChatHistory/index.js | 1 + src/modals/DeleteChatHistory/locales.js | 3 + src/modals/DeleteChatHistory/locales/en.json | 7 +++ src/modals/DeleteChatHistory/locales/kk.json | 7 +++ src/modals/DeleteChatHistory/locales/ru.json | 7 +++ src/modals/index.js | 1 + src/modals/locales.js | 1 + 10 files changed, 90 insertions(+) create mode 100644 src/modals/DeleteChatHistory/DeleteChatHistory.jsx create mode 100644 src/modals/DeleteChatHistory/index.js create mode 100644 src/modals/DeleteChatHistory/locales.js create mode 100644 src/modals/DeleteChatHistory/locales/en.json create mode 100644 src/modals/DeleteChatHistory/locales/kk.json create mode 100644 src/modals/DeleteChatHistory/locales/ru.json diff --git a/i18n.js b/i18n.js index 30f9b4a..6de4a23 100644 --- a/i18n.js +++ b/i18n.js @@ -89,6 +89,7 @@ import { RequireDataAgreemant, RequireRegistration, HowItWorksMyQA, + DeleteChatHistory, } from "./src/modals/locales.js"; import { TabNavigation } from "./src/navigation/locales.js"; @@ -180,6 +181,7 @@ const resources = { "require-data-agreement": RequireDataAgreemant.en, "require-registration": RequireRegistration.en, "how-it-works-my-qa": HowItWorksMyQA.en, + "delete-chat-history": DeleteChatHistory.en, // Navigation "tab-navigation": TabNavigation.en, @@ -271,6 +273,7 @@ const resources = { "require-data-agreement": RequireDataAgreemant.ru, "require-registration": RequireRegistration.ru, "how-it-works-my-qa": HowItWorksMyQA.ru, + "delete-chat-history": DeleteChatHistory.ru, // Navigation "tab-navigation": TabNavigation.ru, @@ -362,6 +365,7 @@ const resources = { "require-data-agreement": RequireDataAgreemant.kk, "require-registration": RequireRegistration.kk, "how-it-works-my-qa": HowItWorksMyQA.kk, + "delete-chat-history": DeleteChatHistory.kk, // Navigation "tab-navigation": TabNavigation.kk, diff --git a/src/components/modals/TransparentModal.jsx b/src/components/modals/TransparentModal.jsx index f2f2e0e..48d496d 100644 --- a/src/components/modals/TransparentModal.jsx +++ b/src/components/modals/TransparentModal.jsx @@ -26,6 +26,7 @@ export function TransparentModal({ handleClose, ctaLabel, ctaHandleClick, + ctaColor = "green", isCtaDisabled = false, secondaryCtaLabel, secondaryCtaHandleClick, @@ -70,6 +71,7 @@ export function TransparentModal({ size="lg" disabled={isCtaDisabled} loading={isCtaLoading} + color={ctaColor} /> ) : null} {secondaryCtaLabel && ( diff --git a/src/modals/DeleteChatHistory/DeleteChatHistory.jsx b/src/modals/DeleteChatHistory/DeleteChatHistory.jsx new file mode 100644 index 0000000..674ad7e --- /dev/null +++ b/src/modals/DeleteChatHistory/DeleteChatHistory.jsx @@ -0,0 +1,57 @@ +import React, { useState } from "react"; +import { useTranslation } from "react-i18next"; +import { useMutation } from "@tanstack/react-query"; + +import { TransparentModal } from "#components"; +import { useError } from "#hooks"; +import { showToast } from "#utils"; +import { clientSvc } from "#services"; + +/** + * DeleteChatHistory + * + * The DeleteChatHistory modal + * + * @return {jsx} + */ +export const DeleteChatHistory = ({ isOpen, onClose }) => { + const { t } = useTranslation("delete-chat-history"); + + const [errors, setErrors] = useState({}); + + const deleteChat = async () => { + const res = await clientSvc.deleteChatHistory(); + return res; + }; + + const deleteAccountMutation = useMutation(deleteChat, { + onSuccess: () => { + showToast({ message: t("success") }); + onClose(); + }, + onError: (error) => { + const { message: errorMessage } = useError(error); + setErrors({ submit: errorMessage }); + }, + }); + + const handleConfirm = () => { + deleteAccountMutation.mutate(); + }; + + return ( + + ); +}; diff --git a/src/modals/DeleteChatHistory/index.js b/src/modals/DeleteChatHistory/index.js new file mode 100644 index 0000000..d595048 --- /dev/null +++ b/src/modals/DeleteChatHistory/index.js @@ -0,0 +1 @@ +export * from './DeleteChatHistory.jsx'; diff --git a/src/modals/DeleteChatHistory/locales.js b/src/modals/DeleteChatHistory/locales.js new file mode 100644 index 0000000..9cfad78 --- /dev/null +++ b/src/modals/DeleteChatHistory/locales.js @@ -0,0 +1,3 @@ +export * as en from "./locales/en.json"; +export * as ru from "./locales/ru.json"; +export * as kk from "./locales/kk.json"; diff --git a/src/modals/DeleteChatHistory/locales/en.json b/src/modals/DeleteChatHistory/locales/en.json new file mode 100644 index 0000000..f77d4e4 --- /dev/null +++ b/src/modals/DeleteChatHistory/locales/en.json @@ -0,0 +1,7 @@ +{ + "heading": "Are you sure you want to delete all your chat data?", + "subheading": "This action is irreversible.", + "confirm": "Yes, delete all my chat data", + "cancel": "No, keep my chat data", + "success": "Your chat data has been deleted successfully." +} diff --git a/src/modals/DeleteChatHistory/locales/kk.json b/src/modals/DeleteChatHistory/locales/kk.json new file mode 100644 index 0000000..cc97749 --- /dev/null +++ b/src/modals/DeleteChatHistory/locales/kk.json @@ -0,0 +1,7 @@ +{ + "heading": "Чат деректеріңіздің бәрін жою керек пе екеніне сенімдісіз бе?", + "subheading": "Бұл әрекетті болдырмауға болмайды.", + "confirm": "Иә, чат деректерімді бәрін жою", + "cancel": "Жоқ, чат деректерімді сақтау", + "success": "Сіздің чат деректеріңіз сәтті жойылды." +} \ No newline at end of file diff --git a/src/modals/DeleteChatHistory/locales/ru.json b/src/modals/DeleteChatHistory/locales/ru.json new file mode 100644 index 0000000..00cf06b --- /dev/null +++ b/src/modals/DeleteChatHistory/locales/ru.json @@ -0,0 +1,7 @@ +{ + "heading": "Вы уверены, что хотите удалить всю вашу историю чата?", + "subheading": "Это действие необратимо.", + "confirm": "Да, удалить всю мою историю чата", + "cancel": "Нет, сохранить мою историю чата", + "success": "Ваша история чата была успешно удалена." +} \ No newline at end of file diff --git a/src/modals/index.js b/src/modals/index.js index 03eda76..a7fa423 100644 --- a/src/modals/index.js +++ b/src/modals/index.js @@ -3,3 +3,4 @@ export * from "./RequireDataAgreemant"; export * from "./MoodTrackerMoreInformation"; export * from "./PaymentInformation"; export * from "./HowItWorksMyQA"; +export * from "./DeleteChatHistory"; diff --git a/src/modals/locales.js b/src/modals/locales.js index f284f3d..ebd84e2 100644 --- a/src/modals/locales.js +++ b/src/modals/locales.js @@ -3,3 +3,4 @@ export * as RequireDataAgreemant from "./RequireDataAgreemant/locales"; export * as MoodTrackerMoreInformation from "./MoodTrackerMoreInformation/locales"; export * as PaymentInformation from "./PaymentInformation/locales"; export * as HowItWorksMyQA from "./HowItWorksMyQA/locales"; +export * as DeleteChatHistory from "./DeleteChatHistory/locales"; From 58af4fc7636805318b369a759abac37156543a58 Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Thu, 21 Dec 2023 15:51:42 +0200 Subject: [PATCH 6/9] Add: new system message type --- src/utils/systemMessageTypes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/systemMessageTypes.js b/src/utils/systemMessageTypes.js index bf1772e..e96ccc3 100644 --- a/src/utils/systemMessageTypes.js +++ b/src/utils/systemMessageTypes.js @@ -11,6 +11,7 @@ export const systemMessageTypes = [ "provider_microphone_off", "provider_camera_on", "provider_camera_off", + "chat_history_deleted_by_client", ]; export default systemMessageTypes; From 22e992d870d864a3bde7aadef82aafc3a0307641 Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Thu, 21 Dec 2023 15:53:14 +0200 Subject: [PATCH 7/9] Add: deleteChatHistory function in the client service --- src/services/client.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/services/client.js b/src/services/client.js index d586bd7..b500223 100644 --- a/src/services/client.js +++ b/src/services/client.js @@ -164,6 +164,13 @@ async function addQuestionVote(answerId, vote) { return response; } +async function deleteChatHistory() { + const response = await http.put(`${API_ENDPOINT}/chat-history`, { + time: JSON.stringify(new Date().getTime()), + }); + return response; +} + const exportedFunctions = { addMoodTrack, getClientData, @@ -188,6 +195,7 @@ const exportedFunctions = { getClientQuestions, getQuestions, addQuestionVote, + deleteChatHistory, }; export default exportedFunctions; From 9c53f4c7bd0919f04f9c670a8491d4c06869a625 Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Thu, 21 Dec 2023 15:53:54 +0200 Subject: [PATCH 8/9] Add: Delete chat history button and system message translation --- src/blocks/ActivityHistory/locales/en.json | 1 + src/blocks/ActivityHistory/locales/kk.json | 1 + src/blocks/ActivityHistory/locales/ru.json | 1 + src/blocks/Consultations/Consultations.jsx | 2 +- src/blocks/UserDetails/UserDetails.jsx | 12 ++++++++++++ src/blocks/UserDetails/locales/en.json | 1 + src/blocks/UserDetails/locales/kk.json | 1 + src/blocks/UserDetails/locales/ru.json | 1 + src/screens/Consultation/locales/en.json | 1 + src/screens/Consultation/locales/kk.json | 1 + src/screens/Consultation/locales/ru.json | 1 + src/screens/UserDetails/UserDetails.jsx | 14 ++++++++++++++ 12 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/blocks/ActivityHistory/locales/en.json b/src/blocks/ActivityHistory/locales/en.json index fa77c15..56ee023 100644 --- a/src/blocks/ActivityHistory/locales/en.json +++ b/src/blocks/ActivityHistory/locales/en.json @@ -12,6 +12,7 @@ "client_camera_on": "The client has turned on the camera", "client_microphone_off": "The client has turned off the microphone", "client_microphone_on": "The client has turned on the microphone", + "chat_history_deleted_by_client": "You have deleted the chat history", "provider_joined": "Provider joined the consultation", "provider_left": "The provider has left the consultation", diff --git a/src/blocks/ActivityHistory/locales/kk.json b/src/blocks/ActivityHistory/locales/kk.json index e96b8e4..7f2fdeb 100644 --- a/src/blocks/ActivityHistory/locales/kk.json +++ b/src/blocks/ActivityHistory/locales/kk.json @@ -13,6 +13,7 @@ "client_camera_on": "Клиент камераны қосты", "client_microphone_off": "Клиент микрофонды өшірді", "client_microphone_on": "Клиент микрофонды қосты", + "chat_history_deleted_by_client": "Сіз чат тарихын жойдыңыз", "provider_joined": "Консультант консультацияға қосылды", "provider_left": "Консультант консультациядан шықты", diff --git a/src/blocks/ActivityHistory/locales/ru.json b/src/blocks/ActivityHistory/locales/ru.json index 4652ef4..08883f9 100644 --- a/src/blocks/ActivityHistory/locales/ru.json +++ b/src/blocks/ActivityHistory/locales/ru.json @@ -13,6 +13,7 @@ "client_camera_on": "Клиент включил камеру", "client_microphone_off": "Клиент выключил микрофон", "client_microphone_on": "Клиент включил микрофон", + "chat_history_deleted_by_client": "Вы удалили историю чата", "provider_joined": "Консультант присоединился к консультации", "provider_left": "Консультант покинул консультацию", diff --git a/src/blocks/Consultations/Consultations.jsx b/src/blocks/Consultations/Consultations.jsx index 5be2db7..d6ee9f8 100644 --- a/src/blocks/Consultations/Consultations.jsx +++ b/src/blocks/Consultations/Consultations.jsx @@ -1,4 +1,4 @@ -import Reac, { useState, useCallback, useMemo } from "react"; +import { useState, useCallback, useMemo } from "react"; import { useTranslation } from "react-i18next"; import { StyleSheet, View } from "react-native"; diff --git a/src/blocks/UserDetails/UserDetails.jsx b/src/blocks/UserDetails/UserDetails.jsx index 21880f1..c67f041 100644 --- a/src/blocks/UserDetails/UserDetails.jsx +++ b/src/blocks/UserDetails/UserDetails.jsx @@ -42,6 +42,7 @@ export const UserDetails = ({ openDeleteAccountBackdrop, openSelectAvatarBackdrop, openDeletePictureBackdrop, + openDeleteChatHistoryBackdrop, navigation, }) => { const { t } = useTranslation("user-details"); @@ -458,6 +459,17 @@ export const UserDetails = ({ label={t("delete_account")} type={"ghost"} onPress={openDeleteAccountBackdrop} + style={styles.textButton} + /> + diff --git a/src/blocks/UserDetails/locales/en.json b/src/blocks/UserDetails/locales/en.json index 759d1f2..c9243d2 100644 --- a/src/blocks/UserDetails/locales/en.json +++ b/src/blocks/UserDetails/locales/en.json @@ -23,6 +23,7 @@ "change_password": "Change password", "delete_account": "Delete account", "logout": "Logout", + "delete_chat": "Clear chat history", "dropdown_sex_label": "Gender", "dropdown_year_label": "Year of birth", diff --git a/src/blocks/UserDetails/locales/kk.json b/src/blocks/UserDetails/locales/kk.json index 895c0e3..33131a8 100644 --- a/src/blocks/UserDetails/locales/kk.json +++ b/src/blocks/UserDetails/locales/kk.json @@ -23,6 +23,7 @@ "change_password": "Құпия сөзді өзгерту", "delete_account": "Аккаунтты жою", "logout": "Шығу", + "delete_chat": "Чат тарихын тазалау", "dropdown_sex_label": "Жынысы", "dropdown_year_label": "Туған жылы", diff --git a/src/blocks/UserDetails/locales/ru.json b/src/blocks/UserDetails/locales/ru.json index 3312a37..24c8db0 100644 --- a/src/blocks/UserDetails/locales/ru.json +++ b/src/blocks/UserDetails/locales/ru.json @@ -23,6 +23,7 @@ "change_password": "Изменить пароль", "delete_account": "Удалить аккаунт", "logout": "Выйти", + "delete_chat": "Очистить историю чата", "dropdown_sex_label": "Пол", "dropdown_year_label": "Год рождения", diff --git a/src/screens/Consultation/locales/en.json b/src/screens/Consultation/locales/en.json index da53518..00a592f 100644 --- a/src/screens/Consultation/locales/en.json +++ b/src/screens/Consultation/locales/en.json @@ -19,6 +19,7 @@ "provider_camera_on": "The provider has turned on the camera", "provider_microphone_off": "The provider has turned off the microphone", "provider_microphone_on": "The provider has turned on the microphone", + "chat_history_deleted_by_client": "You have deleted the chat history", "send_message": "Type your message here...", "show_system_messages": "Show system messages", diff --git a/src/screens/Consultation/locales/kk.json b/src/screens/Consultation/locales/kk.json index bbfc21b..32fb75e 100644 --- a/src/screens/Consultation/locales/kk.json +++ b/src/screens/Consultation/locales/kk.json @@ -20,6 +20,7 @@ "provider_camera_on": "Консультант камераны қосты", "provider_microphone_off": "Консультант микрофонды өшірді", "provider_microphone_on": "Консультант микрофонды қосты", + "chat_history_deleted_by_client": "Сіз чат тарихын жойдыңыз", "send_message": "Хабарламаңызды осы жерге енгізіңіз...", "show_system_messages": "Жүйелік хабарламаларды көрсету", diff --git a/src/screens/Consultation/locales/ru.json b/src/screens/Consultation/locales/ru.json index 8e05216..70627e7 100644 --- a/src/screens/Consultation/locales/ru.json +++ b/src/screens/Consultation/locales/ru.json @@ -20,6 +20,7 @@ "provider_camera_on": "Консультант включил камеру", "provider_microphone_off": "Консультант отключил микрофон", "provider_microphone_on": "Консультант включил микрофон", + "chat_history_deleted_by_client": "Вы удалили историю чата", "send_message": "Введите Ваше сообщение здесь...", "show_system_messages": "Показать системные сообщения", diff --git a/src/screens/UserDetails/UserDetails.jsx b/src/screens/UserDetails/UserDetails.jsx index 12f1984..c925584 100644 --- a/src/screens/UserDetails/UserDetails.jsx +++ b/src/screens/UserDetails/UserDetails.jsx @@ -7,6 +7,7 @@ import { DeleteProfilePicture, SelectAvatar, } from "#backdrops"; +import { DeleteChatHistory } from "#modals"; /** * UserDetails @@ -22,17 +23,25 @@ export const UserDetails = ({ navigation }) => { useState(false); const [isDeletePictureBackdropShown, setIsDeletePictureBackdropShown] = useState(false); + const [ + isDeleteChatHistoryBackdropShown, + setIsDeleteChatHistoryBackdropShown, + ] = useState(false); const openChangePasswordBackdrop = () => setIsChangePasswordOpen(true); const openDeleteAccountBackdrop = () => setIsDeleteBackdropShown(true); const openSelectAvatarBackdrop = () => setIsSelectAvatarBackdropShown(true); const openDeletePictureBackdrop = () => setIsDeletePictureBackdropShown(true); + const openDeleteChatHistoryBackdrop = () => + setIsDeleteChatHistoryBackdropShown(true); const closeChangePasswordBackdrop = () => setIsChangePasswordOpen(false); const closeDeleteAccountBackdrop = () => setIsDeleteBackdropShown(false); const closeSelectAvatarBackdrop = () => setIsSelectAvatarBackdropShown(false); const closeDeletePictureBackdrop = () => setIsDeletePictureBackdropShown(false); + const closeDeleteChatHistoryBackdrop = () => + setIsDeleteChatHistoryBackdropShown(false); return ( @@ -42,6 +51,7 @@ export const UserDetails = ({ navigation }) => { openChangePasswordBackdrop={openChangePasswordBackdrop} openSelectAvatarBackdrop={openSelectAvatarBackdrop} openDeletePictureBackdrop={openDeletePictureBackdrop} + openDeleteChatHistoryBackdrop={openDeleteChatHistoryBackdrop} /> { isOpen={isDeletePictureBackdropShown} onClose={closeDeletePictureBackdrop} /> + ); }; From 63c0d07bf98371cc0758dcdf792882b6aa2f569c Mon Sep 17 00:00:00 2001 From: "Georgi Ganchev @7DIGIT" Date: Thu, 21 Dec 2023 16:36:03 +0200 Subject: [PATCH 9/9] Fix: ESlint error --- src/modals/DeleteChatHistory/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modals/DeleteChatHistory/index.js b/src/modals/DeleteChatHistory/index.js index d595048..0570f13 100644 --- a/src/modals/DeleteChatHistory/index.js +++ b/src/modals/DeleteChatHistory/index.js @@ -1 +1 @@ -export * from './DeleteChatHistory.jsx'; +export * from "./DeleteChatHistory.jsx";