更新时间:2022-05-11 06:39:48
所以我发现问题出在您的Header组件中. 您正在使用与react-router-dom不兼容的引导程序.有关更多信息,请在google上查找.
So I found the issue lies in your Header component. You are using bootstrap which is not compatible with react-router-dom. For more information, kindly look it up on google.
这是您应该更改的内容:
Here is what you should change:
import { Link } from "react-router-dom";
<Nav.Link as={Link} to="/jargons">
Jargons that works!
</Nav.Link>