BUG - Assign Job with less than amount
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user