Skip to content

Commit f167fa8

Browse files
authored
refactor(examples/nextjs-suspense-streaming): drop unnecessary 'as string' cast (#10859)
1 parent 1348095 commit f167fa8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • examples/react/nextjs-suspense-streaming/src/app

examples/react/nextjs-suspense-streaming/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function useWaitQuery(props: { wait: number }) {
3030
},
3131
})
3232

33-
return [query.data as string, query] as const
33+
return [query.data, query] as const
3434
}
3535

3636
function MyComponent(props: { wait: number }) {

0 commit comments

Comments
 (0)