Skip to content

Commit

Permalink
kerosene-ui: Fix QueryBoundary - isLoading -> isPending (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhardy committed Dec 11, 2023
1 parent 40e03d9 commit 2be8998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/kerosene-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kablamo/kerosene-ui",
"version": "0.0.36",
"version": "0.0.37",
"repository": "https://github.com/KablamoOSS/kerosene/tree/master/packages/kerosene-ui",
"bugs": {
"url": "https://github.com/KablamoOSS/kerosene/issues"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const QueryBoundary = <
return <>{typeof children === "function" ? children(query) : children}</>;
}

if (query.isLoading) {
if (query.isPending) {
return <>{loadingFallback}</>;
}

Expand Down

0 comments on commit 2be8998

Please sign in to comment.