Auto-fix lint errors
This commit is contained in:
parent
4c5720a573
commit
ae0a8b8da4
625 changed files with 3170 additions and 3232 deletions
|
@ -19,7 +19,7 @@ import React from "react";
|
|||
import { _t, _td } from "../languageHandler";
|
||||
import GenericToast from "../components/views/toasts/GenericToast";
|
||||
import ToastStore from "../stores/ToastStore";
|
||||
import {messageForResourceLimitError} from "../utils/ErrorUtils";
|
||||
import { messageForResourceLimitError } from "../utils/ErrorUtils";
|
||||
|
||||
const TOAST_KEY = "serverlimit";
|
||||
|
||||
|
@ -40,7 +40,7 @@ export const showToast = (limitType: string, onHideToast: () => void, adminConta
|
|||
description: <React.Fragment>{errorText} {contactText}</React.Fragment>,
|
||||
acceptLabel: _t("Ok"),
|
||||
onAccept: () => {
|
||||
hideToast()
|
||||
hideToast();
|
||||
if (onHideToast) onHideToast();
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue