diff options
Diffstat (limited to 'web/src/js/components')
-rw-r--r-- | web/src/js/components/ContentView/ViewSelector.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/ContentView/ViewSelector.jsx b/web/src/js/components/ContentView/ViewSelector.jsx index 59ec4276..f879dbc5 100644 --- a/web/src/js/components/ContentView/ViewSelector.jsx +++ b/web/src/js/components/ContentView/ViewSelector.jsx @@ -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> |