Skip to content

Commit

Permalink
Fix warning when opening rhs (#5335)
Browse files Browse the repository at this point in the history
* Fix: `Warning: Failed prop type: Invalid prop `isCommentsPage` of
  type `string` supplied to `SearchBar`, expected `boolean`.`
  • Loading branch information
senk authored and grundleborg committed Feb 8, 2017
1 parent f1c9ae5 commit ff2a36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/components/rhs_thread.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export default class RhsThread extends React.Component {
var currentId = UserStore.getCurrentId();
var searchForm;
if (currentId != null) {
searchForm = <SearchBox isCommentsPage='true'/>;
searchForm = <SearchBox isCommentsPage={true}/>;
}

let profile;
Expand Down

0 comments on commit ff2a36e

Please sign in to comment.