mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
themebuilder: update themes manually in themebuilder
This commit is contained in:
@@ -37,6 +37,7 @@ export function App() {
|
||||
(async () => {
|
||||
try {
|
||||
setIsLoading(true);
|
||||
await useStore.getState().init();
|
||||
const theme = from_pr
|
||||
? await loadThemeFromPullRequest(from_pr)
|
||||
: from_url
|
||||
|
||||
@@ -51,6 +51,7 @@ export function BaseThemeProvider(
|
||||
const cssTheme = useMemo(() => themeToCSS(theme), [theme]);
|
||||
|
||||
useEffect(() => {
|
||||
if (IS_THEME_BUILDER) return;
|
||||
(async () => {
|
||||
await useThemeStore.getState().init();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user