Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove last history reference
  • Loading branch information
ckj committed Aug 30, 2018
commit c84a7ffe4f59c23284e8d659e264c3d6829b57db
2 changes: 1 addition & 1 deletion src/components/Session/withAuthorization.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import AuthUserContext from '../Session/AuthUserContext';
import { firebase } from '../../firebase';
import * as routes from '../../constants/routes';

const withAuthorization = ({condition, history}) => Component => {
const withAuthorization = condition => Component => {
class WithAuthorization extends React.Component {
componentDidMount() {
if (typeof window !== 'undefined') {
Expand Down