Conform to new react and typescript eslint rules
This commit is contained in:
parent
b6feaf74bc
commit
ce78cdf4ad
266 changed files with 1992 additions and 2000 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue