Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add forwardRef to ProjectSelect component (#6674)
Make the tooltip for project selection in the playground work properly again. Right now, it doesn't work due to an error in react refs. Because we wrap this in a tooltip in the Playground, we need to forward the ref to the underlying component. This follows the steps outlined in https://mui.com/material-ui/guides/composition/#caveat-with-refs
- Loading branch information
1 parent
8a9d013
commit 6025ad0
Showing
1 changed file
with
80 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters