Skip to content

Commit

Permalink
fix(online): whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Oct 16, 2024
1 parent 0653da8 commit e416ace
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/workshop-app/app/utils/online.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useSyncExternalStore } from 'react'
import { useRequestInfo } from './request-info.ts'

function getSnapshot() {
return false
return window.navigator.onLine
}

Expand Down

0 comments on commit e416ace

Please sign in to comment.