Skip to content

Commit

Permalink
Define dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Nov 12, 2020
1 parent 9fd9e57 commit b643a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion konnectd/ui/src/containers/Login/Chooseaccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const styles = theme => ({
});

function Chooseaccount(props) {
const { loading, errors, classes, hello, history } = props;
const { loading, errors, classes, hello, history, dispatch } = props;

useEffect(() => {
if ((!hello || !hello.state) && history.action !== 'PUSH') {
Expand Down

0 comments on commit b643a7b

Please sign in to comment.