mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-25 11:57:02 +00:00
[brewRenderer] Remove mainRef; it does nothing
This commit is contained in:
1 parent
52c7f70023
commit
0b6702c198
1 file changed
+1
-2
@@ -133,7 +133,6 @@ const BrewRenderer = (props)=>{
|
||||
|
||||
const [headerState, setHeaderState] = useState(false);
|
||||
|
||||
const mainRef = useRef(null);
|
||||
const pagesRef = useRef(null);
|
||||
|
||||
if(props.renderer == 'legacy') {
|
||||
@@ -334,7 +333,7 @@ const BrewRenderer = (props)=>{
|
||||
: null}
|
||||
|
||||
<ErrorBar errors={props.errors} />
|
||||
<div className='popups' ref={mainRef}>
|
||||
<div className='popups'>
|
||||
<RenderWarnings />
|
||||
<NotificationPopup />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user