Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#2983 from Yidadaa/Yidadaa-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa authored Oct 10, 2023
2 parents eadd1dd + c452d89 commit d760599
Showing 1 changed file with 1 addition and 2 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

0 comments on commit d760599

Please sign in to comment.