@appcorp/fusion-storybook 0.1.41 → 0.1.42
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.
|
@@ -446,7 +446,7 @@ export const useExpenseModule = () => {
|
|
|
446
446
|
const { count, items } = await getCachedExpenses({
|
|
447
447
|
params: listParams,
|
|
448
448
|
});
|
|
449
|
-
|
|
449
|
+
dispatch({
|
|
450
450
|
type: EXPENSE_ACTION_TYPES.SET_ITEMS,
|
|
451
451
|
payload: { items: items || [], count: count || 0 },
|
|
452
452
|
});
|
|
@@ -455,7 +455,7 @@ export const useExpenseModule = () => {
|
|
|
455
455
|
showToast(t("messagesFetchFailed"), TOAST_VARIANT.ERROR);
|
|
456
456
|
}
|
|
457
457
|
})();
|
|
458
|
-
}, [listParams]);
|
|
458
|
+
}, [listParams, dispatch, t, showToast]);
|
|
459
459
|
// ============================================================================
|
|
460
460
|
// RETURN
|
|
461
461
|
// ============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appcorp/fusion-storybook",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.42",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build-storybook": "storybook build",
|
|
6
6
|
"build:next": "next build",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@appcorp/app-corp-vista": "^1.0.0",
|
|
40
|
-
"@appcorp/shadcn": "^1.1.
|
|
40
|
+
"@appcorp/shadcn": "^1.1.60",
|
|
41
41
|
"@chromatic-com/storybook": "^5.1.1",
|
|
42
42
|
"@commitlint/cli": "^20.5.0",
|
|
43
43
|
"@commitlint/config-conventional": "^20.5.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@radix-ui/react-separator": "^1.1.8",
|
|
57
57
|
"@radix-ui/react-slot": "^1.2.4",
|
|
58
58
|
"@radix-ui/react-toast": "^1.2.15",
|
|
59
|
-
"@react-pakistan/util-functions": "^1.25.
|
|
59
|
+
"@react-pakistan/util-functions": "^1.25.67",
|
|
60
60
|
"@storybook/addon-a11y": "^10.3.4",
|
|
61
61
|
"@storybook/addon-docs": "^10.3.4",
|
|
62
62
|
"@storybook/addon-onboarding": "^10.3.4",
|