This commit is contained in:
GH Action - Upstream Sync 2023-10-11 01:06:16 +00:00
commit 38b1948cf2
2 changed files with 2 additions and 3 deletions

View File

@ -128,8 +128,7 @@ function Screen() {
const isHome = location.pathname === Path.Home;
const isAuth = location.pathname === Path.Auth;
const isMobileScreen = useMobileScreen();
const shouldTightBorder =
config.tightBorder && !isMobileScreen && getClientConfig()?.isApp;
const shouldTightBorder = getClientConfig()?.isApp || (config.tightBorder && !isMobileScreen);
useEffect(() => {
loadAsyncGoogleFont();

View File

@ -101,7 +101,7 @@ export const useSyncStore = createPersistStore(
mergeAppState(localState, remoteState);
setLocalAppState(localState);
} catch (e) {
console.log("[Sync] failed to get remoate state", e);
console.log("[Sync] failed to get remote state", e);
}
await client.set(config.username, JSON.stringify(localState));