Skip to content

Commit ccd3730

Browse files
committed
Fix: Render Para as div instead of p because it may have another p inside
1 parent 0b87867 commit ccd3730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rsg-components/Para/ParaRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const styles = ({ space, fontFamily, color }) => ({
1414
});
1515

1616
export function ParaRenderer({ classes, children }) {
17-
return <p className={classes.para}>{children}</p>;
17+
return <div className={classes.para}>{children}</div>;
1818
}
1919

2020
ParaRenderer.propTypes = {

0 commit comments

Comments
 (0)