mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 18:59:17 +00:00
Remove useless spread operator
This commit is contained in:
@@ -240,12 +240,12 @@ export default class Notifications extends React.PureComponent<IProps, IState> {
|
||||
return preparedNewState;
|
||||
}
|
||||
|
||||
private async refreshPushers(): Promise<Partial<IState>> {
|
||||
return { ...(await MatrixClientPeg.get().getPushers()) };
|
||||
private refreshPushers(): Promise<Partial<IState>> {
|
||||
return MatrixClientPeg.get().getPushers();
|
||||
}
|
||||
|
||||
private async refreshThreepids(): Promise<Partial<IState>> {
|
||||
return { ...(await MatrixClientPeg.get().getThreePids()) };
|
||||
private refreshThreepids(): Promise<Partial<IState>> {
|
||||
return MatrixClientPeg.get().getThreePids();
|
||||
}
|
||||
|
||||
private showSaveError() {
|
||||
|
||||
Reference in New Issue
Block a user