How to get the `history` type from “react-router-dom” `useHistory` hook?

后端 未结 0 1394
深忆病人
深忆病人 2021-01-11 17:50

Here is what I\'m doing:

MyComponent.tsx

const dispatch = useDispatch();
const history = useHistory();

useEffect(() => {
  dispatc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题