mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
fix viewselector bug
This commit is contained in:
parent
cc838f6c28
commit
0f4eb24a8d
@ -7,7 +7,7 @@ import { setContentView } from "../../ducks/ui/flow";
|
||||
function ViewItem({ name, setContentView, children }) {
|
||||
return (
|
||||
<li>
|
||||
<a href="#" onClick={() => setContentView(name)}>
|
||||
<a href="#" onClick={e => {e.preventDefault(); setContentView(name)}}>
|
||||
{children}
|
||||
</a>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user