Fix ForwardRef Error for Modal
Closed this issue · 1 comments
colfax23 commented
From console logs:
Warning: Failed prop type: Invalid prop children
supplied to ForwardRef(Modal)
. Expected an element that can hold a ref. Did you accidentally use a plain function component for an element instead? For more information see https://material-ui.com/r/caveat-with-refs-guide