diff options
author | Vitaly Takmazov | 2018-12-12 15:47:28 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | e7b32a80cdcf0fa9ca97c14cda33db6d81b451d6 (patch) | |
tree | 3d0e53fcf47757bb02e2b44a94679b4f74b3a867 /vnext/src/App.js | |
parent | 0c31e9ae31403beb3c390e864f0aae653240868d (diff) |
read/readers
Diffstat (limited to 'vnext/src/App.js')
-rw-r--r-- | vnext/src/App.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js index 5c9b3b81..835d3b9f 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -160,8 +160,8 @@ export default class App extends React.Component { <Route exact path="/post" render={(props) => <Post visitor={user} {...props} />} /> <Route exact path="/pm" render={(props) => <Contacts visitor={user} {...props} />} /> <Route exact path="/pm/:user" render={(props) => <Chat ref={this.pm} visitor={user} {...props} />} /> - <Route exact path="/:user/friends" render={(props) => <Friends visitor={user} {...props} />} /> - <Route exact path="/:user/readers" render={(props) => <Readers visitor={user} {...props} />} /> + <Route exact path="/:user/friends" render={(props) => <Friends user={props.match.params.user} {...props} />} /> + <Route exact path="/:user/readers" render={(props) => <Readers user={props.match.params.user} {...props} />} /> <Route exact path="/:user" render={(props) => <Blog key={props.match.params.user} visitor={user} {...props} />} /> <Route exact path="/tag/:tag" render={(props) => <Tag visitor={user} {...props} />} /> <Route exact path="/:user/:mid" render={(props) => <Thread ref={this.thread} visitor={user} {...props} />} /> |