diff --git a/frontend/src/App.js b/frontend/src/App.js index 2fad0a8..e731f28 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -19,16 +19,23 @@ import { } from 'pages' import {Avatar, LoginButton} from 'components' +// This component removes the "navigate" prop before rendering a Menu.Item, +// which is a workaround for an annoying warning that is somehow caused by the +// and combination. +function MenuItemForLink({navigate, ...props}) { + return +} + const App = connect((state) => ({login: state.login}))(function App({login}) { return ( - + OpenBikeSensor - + Tracks