Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: show loader when loading next page in themes

Abdullah Atta49caf23436c4
diff --git a/apps/web/src/dialogs/settings/components/themes-selector.tsx b/apps/web/src/dialogs/settings/components/themes-selector.tsx
index 9eb96770d..014752004 100644
--- a/apps/web/src/dialogs/settings/components/themes-selector.tsx
+++ b/apps/web/src/dialogs/settings/components/themes-selector.tsx
@@ -171,9 +171,6 @@ function ThemesList() {
{filter.title}
</Button>
))}
- {themes.isLoading && !themes.isInitialLoading ? (
- <Loading color="accent" />
- ) : null}
</Flex>
<Flex sx={{ mt: 2, gap: 1 }}>
@@ -238,6 +235,9 @@ function ThemesList() {
)}
/>
)}
+ {!themes.isInitialLoading && themes.isFetching ? (
+ <Loading color="accent" sx={{ mt: 2 }} />
+ ) : null}
</Box>
</>
);