fix: nested richtext bug and test (#2966)
* fix: nested richtext bug and test * chore: fix accidentally deleted character
This commit is contained in:
committed by
GitHub
parent
a8e47088bb
commit
801f60939b
@@ -247,7 +247,7 @@ const RichText: React.FC<Props> = (props) => {
|
||||
const parsedJSON = JSON.parse(valueToRender);
|
||||
valueToRender = parsedJSON;
|
||||
} catch (err) {
|
||||
// do nothing
|
||||
valueToRender = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user