@appcorp/fusion-storybook 0.1.53 → 0.1.55
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.
|
@@ -317,7 +317,7 @@ export const useExpenseModule = () => {
|
|
|
317
317
|
deleteFetchNow === null || deleteFetchNow === void 0 ? void 0 : deleteFetchNow(undefined, {
|
|
318
318
|
body: JSON.stringify({ id: row === null || row === void 0 ? void 0 : row.id }),
|
|
319
319
|
});
|
|
320
|
-
}, [t]);
|
|
320
|
+
}, [t, deleteFetchNow]);
|
|
321
321
|
const handleFilters = useCallback(() => {
|
|
322
322
|
dispatch({
|
|
323
323
|
type: EXPENSE_ACTION_TYPES.SET_DRAWER,
|
|
@@ -337,7 +337,7 @@ export const useExpenseModule = () => {
|
|
|
337
337
|
});
|
|
338
338
|
listFetchNow();
|
|
339
339
|
handleCloseDrawer();
|
|
340
|
-
}, [dispatch, handleCloseDrawer]);
|
|
340
|
+
}, [dispatch, handleCloseDrawer, listFetchNow]);
|
|
341
341
|
const clearFilters = useCallback(() => {
|
|
342
342
|
dispatch({
|
|
343
343
|
type: EXPENSE_ACTION_TYPES.SET_CURRENT_PAGE,
|
|
@@ -57,7 +57,7 @@ const createComponentInstances = () => ({
|
|
|
57
57
|
moreActions: _jsx(TeacherMoreActions, {}),
|
|
58
58
|
view: _jsx(TeacherView, {}),
|
|
59
59
|
});
|
|
60
|
-
const createTeacherConfig = ({ cancelLabel, dispatch,
|
|
60
|
+
const createTeacherConfig = ({ cancelLabel, dispatch, drawerTitle, labelActions, labelEmail, labelEnabled, labelId, labelName, labelPhone, labelSpecialization, labelTeacherCode, saveLabel, searchPlaceholder, tableDescription, tableTitle, }) => {
|
|
61
61
|
const components = createComponentInstances();
|
|
62
62
|
return {
|
|
63
63
|
moduleName: "teacher",
|