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 {
98
98
subscribeToSchemeChange ,
99
99
} from ' @epic-web/client-hints/color-scheme'
100
100
import { clientHint as timeZoneHint } from ' @epic-web/client-hints/time-zone'
101
- import { useRevalidator } from ' @remix-run/ react'
101
+ import { useRevalidator } from ' react-router '
102
102
import * as React from ' react'
103
103
import { useRequestInfo } from ' ./request-info.ts'
104
104
@@ -138,12 +138,12 @@ And then the server-side code in the root loader (what powers the
138
138
139
139
``` tsx
140
140
export async function loader({ request }: DataFunctionArgs ) {
141
- return json ( {
141
+ return {
142
142
// other stuff here...
143
143
requestInfo: {
144
144
hints: getHints (request ),
145
145
},
146
- })
146
+ }
147
147
}
148
148
```
149
149
You can’t perform that action at this time.
0 commit comments