mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 09:01:30 +03:00
a74cb001b4
There is a ref=target in the call to render AccessibleButton for the hide stickers button. This ref is not present in the show case. When clicking the stickerpicker show button, React gives a warning: > Warning: Stateless function components cannot be given refs > (See ref "target" in AccessibleButton created by Stickerpicker). > Attempts to access this ref will fail. Removed the ref. Stickerpicker hide/show still works fine, no warning. Signed-off-by: Jason Robinson <jasonr@matrix.org> |
||
---|---|---|
.. | ||
structures | ||
views |