Commit 8744efc9 authored by devjiwonchoi's avatar devjiwonchoi

improve comment

parent fa472b3d
...@@ -78,7 +78,7 @@ export function useRestartServer() { ...@@ -78,7 +78,7 @@ export function useRestartServer() {
console.log('[Next.js DevTools] Failed to restart server.', error) console.log('[Next.js DevTools] Failed to restart server.', error)
return return
} finally { } finally {
// If server restarted, don't reset isPending. // If server restarted, don't reset isPending since the page will reload.
if (!serverRestarted) { if (!serverRestarted) {
setIsPending(false) 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