mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-23 23:16:50 +00:00
isBrowser方法调整
This commit is contained in:
@@ -9,7 +9,7 @@ const FullScreenButton = () => {
|
||||
const [isFullScreen, setIsFullScreen] = useState(false)
|
||||
|
||||
const handleFullScreenClick = () => {
|
||||
if (!isBrowser()) {
|
||||
if (!isBrowser) {
|
||||
return
|
||||
}
|
||||
const element = document.documentElement
|
||||
|
||||
Reference in New Issue
Block a user