# Warning: forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?

**URL:** <https://devforum.zoom.us/t/warning-forwardref-render-functions-do-not-support-proptypes-or-defaultprops-did-you-accidentally-pass-a-react-component/78727>\
**Category:** Web\
**Created:** [November 13, 2022, 2:38pm UTC](https://devforum.zoom.us/t/warning-forwardref-render-functions-do-not-support-proptypes-or-defaultprops-did-you-accidentally-pass-a-react-component/78727 "2022-11-13T14:38:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gopalakrishnan.j](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gopalakrishnan.j/32/42964_2.png) [@gopalakrishnan.j](https://devforum.zoom.us/u/gopalakrishnan.j)\
**Post date:** [November 13, 2022, 2:38pm UTC](https://devforum.zoom.us/t/warning-forwardref-render-functions-do-not-support-proptypes-or-defaultprops-did-you-accidentally-pass-a-react-component/78727/1 "2022-11-13T14:38:31Z")

</div>

I get a black screen when just importing ZoomMtg from @zoomus/websdk  
All components get black screen

**Browser Console Error**  
Warning: forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?  
DevTools failed to load source map: Could not load content for chrome-extension://lkeokcighogdliiajgbbdjibidaaeang/contentScript.bundle.js.map: System error: net::ERR\_BLOCKED\_BY\_CLIENT  
zoomus/websdk@2.9.0

Device

- Device: Hp pavilion
- OS: windows 10
- Browser: Chrome Version 107.0.5304.107 (Official Build) (64-bit)

---

<div class="post-metadata">

**Author:** ![Samantha.Greatorex](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/samantha.greatorex/32/43372_2.png) [@Samantha.Greatorex](https://devforum.zoom.us/u/Samantha.Greatorex)\
**Post date:** [December 13, 2022, 4:27pm UTC](https://devforum.zoom.us/t/warning-forwardref-render-functions-do-not-support-proptypes-or-defaultprops-did-you-accidentally-pass-a-react-component/78727/2 "2022-12-13T16:27:48Z")

</div>

If you are using the Client View then the control uses the whole screen and will display black until the meeting is started. To overcome this update your CSS to hide the control until you start the meeting:

#zmmtg-root {  
display: none;  
}

On your Start Meeting button you can then change the display back to show again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 13, 2023, 2:28am UTC](https://devforum.zoom.us/t/warning-forwardref-render-functions-do-not-support-proptypes-or-defaultprops-did-you-accidentally-pass-a-react-component/78727/3 "2023-01-13T02:28:32Z")

</div>

Closed on January 13, 2023, 2:28am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
