0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 21:42:45 +00:00

cleanup extra \n being added

This commit is contained in:
Trevor Buckner
2025-08-30 18:51:59 -04:00
committed by GitHub
parent da578c53a8
commit 53f6e48f8f

View File

@@ -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;