Skip to content

Commit

Permalink
chore: resolve deprecation warnings
Browse files Browse the repository at this point in the history
Changes should not have any effect other than
removing warnings from the browser console

Signed-off-by: Eric Dobbertin <[email protected]>
  • Loading branch information
aldeed committed Feb 13, 2019
1 parent e6a8c2b commit 6b97ebf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/AccountDropdown/AccountDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ class AccountDropdown extends Component {
<div className={classes.accountDropdown}>
{authStore.isAuthenticated ?
<Fragment>
<Button color="primary" fullWidth href={`/logout/${account._id}`} variant="raised">
<Button color="primary" fullWidth href={`/logout/${account._id}`} variant="contained">
Sign Out
</Button>
</Fragment>
:
<Fragment>
<div className={classes.authContent}>
<Button color="primary" fullWidth href="/signin" variant="raised">
<Button color="primary" fullWidth href="/signin" variant="contained">
Sign In
</Button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/stores/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import CartStore from "./CartStore";
import RoutingStore from "./RoutingStore";
import UIStore from "./UIStore";

configure({ enforceActions: true });
configure({ enforceActions: "observed" });

const authStore = new AuthStore("meteorToken");
const cartStore = new CartStore();
Expand Down

0 comments on commit 6b97ebf

Please sign in to comment.