You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-27 04:21:52 +03:00
Apply changes from review
This commit is contained in:
@ -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,
|
||||
);
|
||||
|
Reference in New Issue
Block a user