1
0
Fork 0

only show 'we saved it anyway' if we did save it

This commit is contained in:
Enoch Riese 2022-12-16 12:21:56 -06:00
parent 055ae70f80
commit 37ac09aba4

View file

@ -96,7 +96,7 @@ const Edit = (props) => {
{error ? (
<Popout warning className="mb-4">
<h3> {t('editError')} </h3>
<p> {t('editErrorDesc')}: </p>
{success ? <p> {t('editErrorDesc')}: </p> : null}
<pre
className="language-json hljs text-base lg:text-lg whitespace-pre overflow-scroll pr-4"
dangerouslySetInnerHTML={{ __html: error }}