element-web/src/components
Jason Robinson a74cb001b4 Remove unnecessary ref from Stickerpicker
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>
2019-02-28 15:51:36 +02:00
..
structures Merge pull request #2706 from jryans/move-non-feather-icons 2019-02-27 13:08:23 +00:00
views Remove unnecessary ref from Stickerpicker 2019-02-28 15:51:36 +02:00