Skip to content

Commit 138bcd3

Browse files
authored
Merge pull request #20 from UnSetSoft/dev
update package.json and src/lib/ryunix/index.js
2 parents 7d8d7c2 + 24a4f3c commit 138bcd3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.1.11",
2+
"version": "1.1.12",
33
"main": "./src/lib/main.js",
44
"scripts": {
55
"dev": "nodemon ./src/server.js",
@@ -28,4 +28,4 @@
2828
"url": "https://github.com/UnSetSoft/Ryunix/issues"
2929
},
3030
"homepage": "https://github.com/UnSetSoft/Ryunix#readme"
31-
}
31+
}

src/lib/ryunix/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ class Ryunix {
253253
* constructor. If no value is provided, the store will be initialized with a null value.
254254
* @returns A hook that creates a new instance of the Store class with an optional initial value.
255255
*/
256-
useStore(val = null) {
256+
storage(val = null) {
257257
return new Store(val).hook();
258258
}
259259
}

0 commit comments

Comments
 (0)