diff --git a/src/redux/root/init.thunks.ts b/src/redux/root/init.thunks.ts index 20a722afb23f2b73870dea3ee777170a060f1ac9..5163bf26a710764863960768b6a38dfc6cef6433 100644 --- a/src/redux/root/init.thunks.ts +++ b/src/redux/root/init.thunks.ts @@ -1,3 +1,4 @@ +import spinnerIcon from '@/assets/vectors/icons/spinner.svg'; import { PROJECT_ID } from '@/constants'; import { openOverlaysDrawer, openSearchDrawerWithSelectedTab } from '@/redux/drawer/drawer.slice'; import { AppDispatch } from '@/redux/store'; @@ -126,4 +127,5 @@ export const fetchInitialAppData = createAsyncThunk< await dispatch(getProjects()); dispatch(openSelectProjectModal()); } + new Image().src = spinnerIcon.src; });