Closed Cristhianzl closed 3 days ago
This pull request includes a change to the AppInitPage component in the src/frontend/src/pages/AppInitPage/index.tsx file. The change ensures that the useGetFoldersQuery hook is only enabled after the initial data fetch is completed.
AppInitPage
src/frontend/src/pages/AppInitPage/index.tsx
useGetFoldersQuery
enabled
isFetched
This pull request includes a change to the
AppInitPage
component in thesrc/frontend/src/pages/AppInitPage/index.tsx
file. The change ensures that theuseGetFoldersQuery
hook is only enabled after the initial data fetch is completed.src/frontend/src/pages/AppInitPage/index.tsx
: Modified theuseGetFoldersQuery
hook to include theenabled
option, ensuring it is only executed whenisFetched
is true.