mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 16:36:58 +00:00
cleanup extra \n being added
This commit is contained in:
1 parent
da578c53a8
commit
53f6e48f8f
1 file changed
+1
-1
@@ -40,7 +40,7 @@ const BrewPage = (props)=>{
|
|||||||
...props
|
...props
|
||||||
};
|
};
|
||||||
const pageRef = useRef(null);
|
const pageRef = useRef(null);
|
||||||
const cleanText = safeHTML(`${props.contents}\n`);
|
const cleanText = safeHTML(props.contents);
|
||||||
|
|
||||||
useEffect(()=>{
|
useEffect(()=>{
|
||||||
if(!pageRef.current) return;
|
if(!pageRef.current) return;
|
||||||
|
|||||||
Reference in new issue
Block a user