fix: nested richtext bug and test (#2966)

* fix: nested richtext bug and test

* chore: fix accidentally deleted character
This commit is contained in:
Jessica Chowdhury
2023-07-05 14:06:02 +01:00
committed by GitHub
parent a8e47088bb
commit 801f60939b
3 changed files with 64 additions and 1 deletions

View File

@@ -247,7 +247,7 @@ const RichText: React.FC<Props> = (props) => {
const parsedJSON = JSON.parse(valueToRender);
valueToRender = parsedJSON;
} catch (err) {
// do nothing
valueToRender = null;
}
}