Skip to content

Commit d7a738d

Browse files
feat(core): release from mindfiredigital/dev
Feat: Release new version
2 parents febdc24 + 14a03c6 commit d7a738d

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

packages/example/test-react/src/store/RatingStore.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ export const useRatingStore = create<RatingState>((set, get) => ({
1717
set(state => ({
1818
ratings: { ...state.ratings, [componentId]: 0 },
1919
}));
20-
2120
},
2221

2322
setRatingToMax: (componentId: string) => {
2423
set(state => ({
2524
ratings: { ...state.ratings, [componentId]: 5 },
2625
}));
27-
2826
},
2927

3028
incrementRating: (componentId: string) => {
@@ -33,7 +31,6 @@ export const useRatingStore = create<RatingState>((set, get) => ({
3331
set(state => ({
3432
ratings: { ...state.ratings, [componentId]: newValue },
3533
}));
36-
console.log(`Rating (${componentId}): Incremented to ${newValue}`);
3734
},
3835

3936
decrementRating: (componentId: string) => {
@@ -42,7 +39,6 @@ export const useRatingStore = create<RatingState>((set, get) => ({
4239
set(state => ({
4340
ratings: { ...state.ratings, [componentId]: newValue },
4441
}));
45-
console.log(`Rating (${componentId}): Decremented to ${newValue}`);
4642
},
4743

4844
setValue: (componentId: string, value: number | null) => {

pnpm-lock.yaml

Lines changed: 4 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)