BUG - Assign Job with less than amount

This commit is contained in:
2023-08-21 22:41:21 +01:00
parent a0ba60a2bc
commit 7dcae39320
7 changed files with 145 additions and 80 deletions
+18
View File
@@ -0,0 +1,18 @@
import { createSlice } from "@reduxjs/toolkit";
const initialState = {
walletDetails: {},
};
export const walletSlice = createSlice({
name: "walletDetails",
initialState,
reducers: {
viewWalletDetails: (state, action) => {
state.walletDetails = { ...action.payload };
},
},
});
export const { viewWalletDetails } = walletSlice.actions;
export default walletSlice.reducer;