diff options
Diffstat (limited to 'src/client/react/components/page')
-rw-r--r-- | src/client/react/components/page/User.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/react/components/page/User.js b/src/client/react/components/page/User.js index 6f9373f..4b9af64 100644 --- a/src/client/react/components/page/User.js +++ b/src/client/react/components/page/User.js @@ -37,7 +37,8 @@ class UserPage extends React.Component { }; render() { - const user = userFromMatch(this.props.match); + const { match } = this.props; + const user = userFromMatch(match); if (!user) { // Invalid user, redirect to index. |