Added routing and basic board component.

This commit is contained in:
Patrick Fic
2019-12-09 21:33:58 -08:00
parent 7de41f77ae
commit 620d2419a3
20 changed files with 407 additions and 44 deletions

View File

@@ -67,7 +67,8 @@ class AppContainer extends Component {
// See above for additional options, including other storage providers.
await persistCache({
cache,
storage: window.localStorage
storage: window.sessionStorage,
debug: true
});
} catch (error) {
console.error("Error restoring Apollo cache", error);

View File

@@ -74,7 +74,7 @@ class App extends React.Component {
}
render() {
console.log("this.props.currentUser", this.props.currentUser);
console.log("this.props.currentUser", this.props.currentUser.email);
return (
<div>
<Switch>