isBrowser方法调整

This commit is contained in:
tangly1024.com
2023-08-01 12:47:33 +08:00
parent 115b43b429
commit 6eb50b1138
28 changed files with 41 additions and 42 deletions

View File

@@ -9,7 +9,7 @@ const FullScreenButton = () => {
const [isFullScreen, setIsFullScreen] = useState(false)
const handleFullScreenClick = () => {
if (!isBrowser()) {
if (!isBrowser) {
return
}
const element = document.documentElement