From db3a7e9b33efde4f09c72e65b838be03ece6badc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=83=D0=BB?= Date: Fri, 2 Aug 2024 19:41:38 +0300 Subject: [PATCH 1/4] feat: made modals load async --- src/components/App/index.tsx | 32 ++++++++++------------ src/components/ModalsContainer/index.tsx | 35 ++++++++++++++---------- 2 files changed, 35 insertions(+), 32 deletions(-) diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 4bb79f001..cd9cdf982 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -66,7 +66,7 @@ export const App = () => { const setTeachMeAnswer = useTeachStore((s) => s.setTeachMeAnswer) - const { fetchData, setCategoryFilter, setAbortRequests, addNewNode, splashDataLoading } = useDataStore((s) => s) + const { fetchData, setCategoryFilter, setAbortRequests, addNewNode } = useDataStore((s) => s) const { setAiSummaryAnswer, getKeyExist, aiRefId } = useAiSummaryStore((s) => s) @@ -229,22 +229,20 @@ export const App = () => {