state-jet 2.0.24 → 2.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,7 +139,7 @@ import { useSlice } from "state-jet";
|
|
|
139
139
|
const productSlice = useSlice("products");
|
|
140
140
|
const cartSlice = useSlice("cart");
|
|
141
141
|
|
|
142
|
-
// Define multiple state values under
|
|
142
|
+
// Define multiple state values under a slice
|
|
143
143
|
export const useProductSlice = () => ({
|
|
144
144
|
productState: productSlice("productState", {}),
|
|
145
145
|
productFilter: productSlice("productFilter", { search: "", category: "all" }),
|