Added routing and basic board component.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user