Refactor profile screen to use new pager and react-query (#1870)
* Profile tabs WIP * Refactor the profile screen to use react-query (WIP) * Add the profile shadow and get follow, mute, and block working * Cleanup --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
parent
c3edde8ac6
commit
e1938931e0
9 changed files with 730 additions and 456 deletions
|
@ -251,7 +251,7 @@ function ComposeBtn() {
|
|||
}
|
||||
|
||||
export const DesktopLeftNav = observer(function DesktopLeftNav() {
|
||||
const store = useStores()
|
||||
const {currentAccount} = useSession()
|
||||
const pal = usePalette('default')
|
||||
const {isDesktop, isTablet} = useWebMediaQueries()
|
||||
const numUnread = useUnreadNotifications()
|
||||
|
@ -370,7 +370,7 @@ export const DesktopLeftNav = observer(function DesktopLeftNav() {
|
|||
label="Moderation"
|
||||
/>
|
||||
<NavItem
|
||||
href={makeProfileLink(store.me)}
|
||||
href={makeProfileLink(currentAccount)}
|
||||
icon={
|
||||
<UserIcon
|
||||
strokeWidth={1.75}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue