mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fix loading animation
This commit is contained in:
@@ -31,7 +31,7 @@ export function GlobalContextProvider({ children }) {
|
||||
if (isBrowser()) {
|
||||
// 监听用户刷新页面
|
||||
const handleBeforeUnload = (event) => {
|
||||
setOnReading(true)
|
||||
// setOnReading(true)
|
||||
}
|
||||
// 监听页面元素加载完
|
||||
setOnReading(false)
|
||||
|
||||
Reference in New Issue
Block a user