Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fa5bd0d

Browse files
committed
fix props
1 parent cc0722e commit fa5bd0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/components/Session/withAuthentication.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const withAuthentication = (Component) => {
1717

1818
render() {
1919
return (
20-
<Component />
20+
<Component {...this.props}/>
2121
);
2222
}
2323
}

‎src/components/Session/withAuthorization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const withAuthorization = (condition) => (Component) => {
1717
}
1818

1919
render() {
20-
return this.props.authUser ? <Component /> : null;
20+
return this.props.authUser ? <Component {...this.props}/> : null;
2121
}
2222
}
2323

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /