-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove unused ref forwarded to all dashboard panels (#1451)
This ref doesn't seem to be used by anything and prints dev warnings if any panel is a functional component that doesn't use `React.forwardRef`. I couldn't find anywhere we actually use the ref and it looks like it was a workaround for golden-layout adding the ref as default props to every component. The way we use golden-layout, I don't think it's even possible to attach a ref to the component in a way that a plugin could access that ref.
- Loading branch information
1 parent
2a4ec0d
commit 938aa07
Showing
4 changed files
with
15 additions
and
26 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
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
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
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