Apply changes from review
This commit is contained in:
parent
84bcdf66f2
commit
c78d1c49ab
2 changed files with 3 additions and 3 deletions
|
@ -305,7 +305,7 @@ class LoggedInView extends React.Component<IProps, IState> {
|
|||
}
|
||||
};
|
||||
|
||||
_onHideToast = () => {
|
||||
private onUsageLimitDismissed = () => {
|
||||
this.setState({
|
||||
usageLimitDismissed: true,
|
||||
});
|
||||
|
@ -322,7 +322,7 @@ class LoggedInView extends React.Component<IProps, IState> {
|
|||
if (usageLimitEventContent && this.state.usageLimitDismissed) {
|
||||
showServerLimitToast(
|
||||
usageLimitEventContent.limit_type,
|
||||
this._onHideToast,
|
||||
this.onUsageLimitDismissed,
|
||||
usageLimitEventContent.admin_contact,
|
||||
error,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue