Remove autobind decorator. Fix bugs in AR view

This commit is contained in:
John Lyon-Smith
2018-05-28 16:12:20 -07:00
parent eb3649547a
commit f07c61c3b5
26 changed files with 1512 additions and 1481 deletions

View File

@@ -56,7 +56,11 @@ export default class App extends React.Component {
<Route exact path="/login" component={Login} />
<Route exact path="/logout" component={Logout} />
<ProtectedRoute exact path="/home" component={Home} />
<ProtectedRoute exact path="/arviewer" component={ARViewer} />
<ProtectedRoute
exact
path="/arviewer"
render={(props) => <ARViewer {...props} />}
/>
<ProtectedRoute exact path="/activity" component={Activity} />
<ProtectedRoute exact admin path="/workItem" component={WorkItem} />
<ProtectedRoute