From f731691cd14305f4f7ae1c0d9277a09b3ead46a8 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Mon, 30 Dec 2024 13:05:04 +0000 Subject: [PATCH] chore: try to fail the diff viewer test --- admin/src/components/ConfigDiff/index.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/src/components/ConfigDiff/index.jsx b/admin/src/components/ConfigDiff/index.jsx index 2599ac9..3c3a14a 100644 --- a/admin/src/components/ConfigDiff/index.jsx +++ b/admin/src/components/ConfigDiff/index.jsx @@ -11,12 +11,12 @@ import { useIntl } from 'react-intl'; * * @see https://github.com/Aeolun/react-diff-viewer-continued/issues/43 */ -let ReactDiffViewer; -if (typeof RDV.default !== 'undefined') { - ReactDiffViewer = RDV.default; -} else { - ReactDiffViewer = RDV; -} +// let ReactDiffViewer; +// if (typeof RDV.default !== 'undefined') { +// ReactDiffViewer = RDV.default; +// } else { +// ReactDiffViewer = RDV; +// } import { Modal, @@ -48,7 +48,7 @@ const ConfigDiff = ({ oldValue, newValue, configName, trigger }) => { -