removed typeof and todo
Signed-off-by: Minhaz A V <minhazav@gmail.com>
This commit is contained in:
parent
3c1312a9e6
commit
7e7493b336
1 changed files with 1 additions and 2 deletions
|
@ -590,12 +590,11 @@ module.exports = React.createClass({
|
|||
if (theAlias) presentedId = theAlias;
|
||||
}
|
||||
|
||||
if (typeof presentedId != 'undefined') {
|
||||
if (presentedId != undefined) {
|
||||
self.notifyNewScreen('room/'+presentedId);
|
||||
} else {
|
||||
// There is no information on presentedId
|
||||
// so point user to fallback like /directory
|
||||
// TODO(mebjas): confirm if this is correct fallback
|
||||
self.notifyNewScreen('directory');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue