I'm working with React functional component, and in the parameter of that functional component here Deal we are using destructuring. Furthermore, we are doing match : {params}, but I'm unable to get that part. Would anybody please explain!
const Deal = ({ history, form, match: { params } }) => {
let isLoading = useSelector(getSelectedDealLoading);
let err = useSelector(getSelectedDealError);
const isSubmitSuccess = useSelector(getSuccess);
const [isSubmitted, changeIsSubmitted] = useState(false);
}