Conform to new react and typescript eslint rules
This commit is contained in:
@@ -37,7 +37,7 @@ export const showToast = (limitType: string, onHideToast: () => void, adminConta
|
||||
key: TOAST_KEY,
|
||||
title: _t("Warning"),
|
||||
props: {
|
||||
description: <React.Fragment>{errorText} {contactText}</React.Fragment>,
|
||||
description: <React.Fragment>{ errorText } { contactText }</React.Fragment>,
|
||||
acceptLabel: _t("Ok"),
|
||||
onAccept: () => {
|
||||
hideToast();
|
||||
|
||||
@@ -51,7 +51,7 @@ export const showToast = (version: string, newVersion: string, releaseNotes?: st
|
||||
onAccept = () => {
|
||||
Modal.createTrackedDialog('Display release notes', '', QuestionDialog, {
|
||||
title: _t("What's New"),
|
||||
description: <pre>{releaseNotes}</pre>,
|
||||
description: <pre>{ releaseNotes }</pre>,
|
||||
button: _t("Update"),
|
||||
onFinished: (update) => {
|
||||
if (update && PlatformPeg.get()) {
|
||||
|
||||
Reference in New Issue
Block a user