Skip to content

Commit fbd6cac

Browse files
committed
Fix: NPM package install error #2
1 parent 0613190 commit fbd6cac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-hands",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "React's Own Hands Touching State The Easiest Way!",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

src/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// React State
1+
// React Hands
22
// All exportable tpypes have naming convention $typeName
33
import * as React from 'react';
44

@@ -34,7 +34,7 @@ export function reactState(
3434
} else {
3535
// handle error then return state as is -- line 1.0
3636
console.log(
37-
`React State: Your probably passed a different reference to dispatch, "${action.type}" should match the same state name referenced in state!`
37+
`Bad Hands: Your probably passed a different reference to dispatch, "${action.type}" should match the same state name referenced in state!`
3838
);
3939
return state;
4040
}
@@ -94,7 +94,7 @@ export function reactState(
9494
// tell user to wrap their app in store provider
9595
if (context === undefined) {
9696
throw new Error(
97-
'React State: Your top level component or app must be wrapped within the StoreProvider!'
97+
'Bad Hands: Your top level component or app must be wrapped within the StoreProvider!'
9898
);
9999
}
100100

0 commit comments

Comments
 (0)