"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[284],{10284:(e,n,r)=>{r.r(n),r.d(n,{default:()=>u});var t=r(76046),s=r(12115);function u(){let e=(0,t.useRouter)();return(0,s.useEffect)(()=>{let n=new AbortController,{signal:r}=n;return window.addEventListener("online",()=>e.refresh(),{passive:!0,signal:r}),()=>n.abort()},[e]),null}u.displayName="RefreshOnReconnect"}}]);