File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ import {
9898 subscribeToSchemeChange ,
9999} from ' @epic-web/client-hints/color-scheme'
100100import { clientHint as timeZoneHint } from ' @epic-web/client-hints/time-zone'
101- import { useRevalidator } from ' @remix-run/ react'
101+ import { useRevalidator } from ' react-router '
102102import * as React from ' react'
103103import { useRequestInfo } from ' ./request-info.ts'
104104
@@ -138,12 +138,12 @@ And then the server-side code in the root loader (what powers the
138138
139139``` tsx
140140export async function loader({ request }: DataFunctionArgs ) {
141- return json ( {
141+ return {
142142 // other stuff here...
143143 requestInfo: {
144144 hints: getHints (request ),
145145 },
146- })
146+ }
147147}
148148```
149149
You can’t perform that action at this time.
0 commit comments