Say thanks :)
Summary: And also increase the time-to-disappear from 1s to 1.5s. Reviewed By: passy Differential Revision: D17281904 fbshipit-source-id: df0f3e1a40949f5a518bf05d89b6ac0ecf92c5bb
This commit is contained in:
committed by
Facebook Github Bot
parent
f3691bec7b
commit
ce51458eb8
@@ -90,7 +90,7 @@ class FeedbackComponent extends Component<
|
||||
this.setState({rating: newRating, nextAction: nextAction});
|
||||
this.props.submitRating(newRating);
|
||||
if (nextAction === 'finished') {
|
||||
setTimeout(this.props.close, 1000);
|
||||
setTimeout(this.props.close, 1500);
|
||||
}
|
||||
}
|
||||
onCommentSubmitted(comment: string) {
|
||||
@@ -197,7 +197,7 @@ class FeedbackComponent extends Component<
|
||||
];
|
||||
break;
|
||||
case 'finished':
|
||||
body = [];
|
||||
body = [<Row>Thanks!</Row>];
|
||||
break;
|
||||
default: {
|
||||
console.error('Illegal state: nextAction: ' + this.state.nextAction);
|
||||
|
||||
Reference in New Issue
Block a user