Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Jul 20, 2024
1 parent e896633 commit 4754a15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module UserDisplayer = {
module UserNodeDisplayer = {
@react.component
let make = (~queryRef) => {
let (_, startTransition) = ReactExperimental.useTransition()
let (_, startTransition) = React.useTransition()
let {data, hasNext, loadNext, isLoadingNext, refetch} = Fragment.usePagination(queryRef)

<div>
Expand Down
2 changes: 1 addition & 1 deletion packages/rescript-relay/__tests__/Test_paginationUnion.res
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module Test = {
let groupId = "123"
let query = Query.use(~variables={groupId: groupId})

let (_, startTransition) = ReactExperimental.useTransition()
let (_, startTransition) = React.useTransition()

let {data, hasNext, loadNext, isLoadingNext, refetch} = Fragment.usePagination(
query.fragmentRefs,
Expand Down
2 changes: 1 addition & 1 deletion packages/rescript-relay/__tests__/Test_refetching.res
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module Test = {

let (data, refetch) = Fragment.useRefetchable(query.loggedInUser.fragmentRefs)

let (_, startTransition) = ReactExperimental.useTransition()
let (_, startTransition) = React.useTransition()

<div>
{React.string(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module UserDisplayer = {
let make = (~queryRef) => {
let (data, refetch) = Fragment.useRefetchable(queryRef)

let (_, startTransition) = ReactExperimental.useTransition()
let (_, startTransition) = React.useTransition()

<div>
{React.string(
Expand Down

0 comments on commit 4754a15

Please sign in to comment.