Merge pull request #2975 from luckykong/patch-1

This commit is contained in:
Yifei Zhang 2023-10-09 22:38:45 +08:00 committed by GitHub
commit 3e2c5af4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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