Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 11, 2023
2 parents 86b3959 + adee435 commit df3a6a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion app/store/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit df3a6a1

Please sign in to comment.