diff --git a/packages/example/src/routes/query.tsx b/packages/example/src/routes/query.tsx index b8c38f1..c229aa6 100644 --- a/packages/example/src/routes/query.tsx +++ b/packages/example/src/routes/query.tsx @@ -74,7 +74,7 @@ const ResultView = Component.makeUntraced("Result")(function*() { Match.tag("Success", result => <> {result.value.title} {result.value.body} - {Result.isRefreshing(result) && Refreshing...} + {Result.hasRefreshingFlag(result) && Refreshing...} ), Match.tag("Failure", result => An error has occured: {result.cause.toString()} @@ -94,7 +94,7 @@ const ResultView = Component.makeUntraced("Result")(function*() { Match.tag("Success", result => <> {result.value.title} {result.value.body} - {Result.isRefreshing(result) && Refreshing...} + {Result.hasRefreshingFlag(result) && Refreshing...} ), Match.tag("Failure", result => An error has occured: {result.cause.toString()}