]> Untitled Git - lemmy.git/commit
ui.components: split user component up to fix duplicate requests
authorderek <wwsage@gmail.com>
Sun, 12 Jul 2020 08:00:10 +0000 (04:00 -0400)
committerderek <wwsage@gmail.com>
Tue, 14 Jul 2020 00:14:01 +0000 (20:14 -0400)
commitf1d01f4fa091ffd506518fa0af049fb385684c75
treed3e0f15df2cb0c2e038220592a1157994dfde3fc
parentd71897620ceea58b2d314242ea2f646a466d338e
ui.components: split user component up to fix duplicate requests

Replace componentWillReceiveProps with getDerivedState and pass state as props to new component
ui/src/components/user-details.tsx [new file with mode: 0644]
ui/src/components/user.tsx
ui/src/interfaces.ts