initial commit

This commit is contained in:
victorAnumudu
2024-03-21 22:00:31 +01:00
parent 762de4c23e
commit 76c0994eb0
4 changed files with 51 additions and 2 deletions
+4
View File
@@ -13,6 +13,7 @@ const initialState = {
marketTableList: false,
familyOfferList: false,
parentFamilyTaskList: false,
offerInterestListReload: false,
};
export const tableReloadSlice = createSlice({
@@ -57,6 +58,9 @@ export const tableReloadSlice = createSlice({
case "PARENTFAMILYTASKLIST": // reloads list of active family task on parent side
state.parentFamilyTaskList = !state.parentFamilyTaskList;
return;
case "OFFERINTERESTLISTRELOAD": // to reload offer interest list of owner when a worker sends interest in a job
state.offerInterestListReload = !state.offerInterestListReload;
return;
default:
return state;
}