]> Untitled Git - lemmy.git/commit
ui.components: fix selector components to work with browser buttons
authorderek <wwsage@gmail.com>
Mon, 13 Jul 2020 04:19:34 +0000 (00:19 -0400)
committerderek <wwsage@gmail.com>
Tue, 14 Jul 2020 00:14:01 +0000 (20:14 -0400)
commit47548905ce1b20035ffa467391f06280b6fbfcb4
treedf83020eb7ff82bd699a354a6e9b65bd651b0225
parent195bf022bb38499754263f71d52b0596ebd0e333
ui.components: fix selector components to work with browser buttons

Use getDerivedState to set state and only send back props
ui/src/components/data-type-select.tsx
ui/src/components/listing-type-select.tsx
ui/src/components/sort-select.tsx