Commit 8744efc9 authored by devjiwonchoi's avatar devjiwonchoi

improve comment

parent fa472b3d
......@@ -78,7 +78,7 @@ export function useRestartServer() {
console.log('[Next.js DevTools] Failed to restart server.', error)
return
} finally {
// If server restarted, don't reset isPending.
// If server restarted, don't reset isPending since the page will reload.
if (!serverRestarted) {
setIsPending(false)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment