Auto-fix lint errors
This commit is contained in:
@@ -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();
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user