Auto-fix lint errors

This commit is contained in:
J. Ryan Stinnett 2021-06-29 13:11:58 +01:00
parent 4c5720a573
commit ae0a8b8da4
625 changed files with 3170 additions and 3232 deletions

View file

@ -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();
},
},