[brewRenderer] Remove mainRef; it does nothing

This commit is contained in:
Trevor Buckner
2026-09-18 10:35:21 -04:00
parent 52c7f70023
commit 0b6702c198
@@ -133,7 +133,6 @@ const BrewRenderer = (props)=>{
const [headerState, setHeaderState] = useState(false); const [headerState, setHeaderState] = useState(false);
const mainRef = useRef(null);
const pagesRef = useRef(null); const pagesRef = useRef(null);
if(props.renderer == 'legacy') { if(props.renderer == 'legacy') {
@@ -334,7 +333,7 @@ const BrewRenderer = (props)=>{
: null} : null}
<ErrorBar errors={props.errors} /> <ErrorBar errors={props.errors} />
<div className='popups' ref={mainRef}> <div className='popups'>
<RenderWarnings /> <RenderWarnings />
<NotificationPopup /> <NotificationPopup />
</div> </div>