@pluralsight/react-utils
Advanced tools
Comparing version 0.7.1-next-3f01e8 to 0.7.1-next-3f4502
@@ -19,5 +19,5 @@ // src/helpers/createResource.ts | ||
switch (status) { | ||
case "pending": | ||
case "error": | ||
throw result; | ||
case "pending": | ||
case "success": | ||
@@ -24,0 +24,0 @@ return result; |
@@ -19,5 +19,5 @@ // src/helpers/createResource.ts | ||
switch (status) { | ||
case "pending": | ||
case "error": | ||
throw result; | ||
case "pending": | ||
case "success": | ||
@@ -24,0 +24,0 @@ return result; |
{ | ||
"name": "@pluralsight/react-utils", | ||
"version": "0.7.1-next-3f01e8", | ||
"version": "0.7.1-next-3f4502", | ||
"description": "A set of React custom hooks for Pando.", | ||
@@ -60,3 +60,3 @@ "browserslist": "> 0.25%, not dead", | ||
"license": "Apache 2.0", | ||
"packageManager": "bun@1.0.14", | ||
"packageManager": "pnpm@8.15.1", | ||
"scripts": { | ||
@@ -63,0 +63,0 @@ "build": "tsup --experimental-dts", |
@@ -24,6 +24,6 @@ import { loadImage, preloadImgResource } from './loaders' | ||
switch (status) { | ||
case 'pending': | ||
case 'error': | ||
throw result | ||
case 'pending': | ||
case 'success': | ||
@@ -30,0 +30,0 @@ return result |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
247874
0