@appcorp/fusion-storybook 0.2.98 → 0.2.99

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.
@@ -102,10 +102,9 @@ export const useStudentFeeModule = () => {
102
102
  }, [dispatch]);
103
103
  const resetRecordFormState = useCallback(() => {
104
104
  var _a, _b;
105
- const days = (_a = workspace === null || workspace === void 0 ? void 0 : workspace.dueDateLength) !== null && _a !== void 0 ? _a : 0;
105
+ const dueDay = (_a = workspace === null || workspace === void 0 ? void 0 : workspace.dueDateLength) !== null && _a !== void 0 ? _a : 1;
106
106
  const dueDate = new Date();
107
- if (days > 0)
108
- dueDate.setDate(dueDate.getDate() + days);
107
+ dueDate.setDate(dueDay);
109
108
  dispatch({
110
109
  type: STUDENT_FEE_ACTION_TYPES.SET_ERRORS,
111
110
  payload: { errors: {} },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.2.98",
3
+ "version": "0.2.99",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",