@appcorp/fusion-storybook 0.2.90 → 0.2.91
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.
|
@@ -426,15 +426,15 @@ export const useFamilyModule = () => {
|
|
|
426
426
|
// ==========================================================================
|
|
427
427
|
// 1.4.9 EFFECTS
|
|
428
428
|
// ==========================================================================
|
|
429
|
+
useEffect(() => {
|
|
430
|
+
listFetchNowRef.current = listFetchNow;
|
|
431
|
+
}, [listFetchNow]);
|
|
429
432
|
useEffect(() => {
|
|
430
433
|
var _a, _b;
|
|
431
434
|
if (!((_a = workspace === null || workspace === void 0 ? void 0 : workspace.school) === null || _a === void 0 ? void 0 : _a.id))
|
|
432
435
|
return;
|
|
433
436
|
(_b = listFetchNowRef.current) === null || _b === void 0 ? void 0 : _b.call(listFetchNowRef);
|
|
434
437
|
}, [listParams, (_b = workspace === null || workspace === void 0 ? void 0 : workspace.school) === null || _b === void 0 ? void 0 : _b.id]);
|
|
435
|
-
useEffect(() => {
|
|
436
|
-
listFetchNowRef.current = listFetchNow;
|
|
437
|
-
}, [listFetchNow]);
|
|
438
438
|
// ==========================================================================
|
|
439
439
|
// 1.4.10 RETURN
|
|
440
440
|
// ==========================================================================
|
|
@@ -468,15 +468,15 @@ export const useFamilyMemberModule = () => {
|
|
|
468
468
|
// ============================================================================
|
|
469
469
|
// 1.4.9 EFFECTS
|
|
470
470
|
// ============================================================================
|
|
471
|
+
useEffect(() => {
|
|
472
|
+
listFetchNowRef.current = listFetchNow;
|
|
473
|
+
}, [listFetchNow]);
|
|
471
474
|
useEffect(() => {
|
|
472
475
|
var _a, _b;
|
|
473
476
|
if (!((_a = workspace === null || workspace === void 0 ? void 0 : workspace.school) === null || _a === void 0 ? void 0 : _a.id))
|
|
474
477
|
return;
|
|
475
478
|
(_b = listFetchNowRef.current) === null || _b === void 0 ? void 0 : _b.call(listFetchNowRef);
|
|
476
479
|
}, [listParams, (_b = workspace === null || workspace === void 0 ? void 0 : workspace.school) === null || _b === void 0 ? void 0 : _b.id]);
|
|
477
|
-
useEffect(() => {
|
|
478
|
-
listFetchNowRef.current = listFetchNow;
|
|
479
|
-
}, [listFetchNow]);
|
|
480
480
|
// ============================================================================
|
|
481
481
|
// 1.4.10 RETURN
|
|
482
482
|
// ============================================================================
|