Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

[DMs][PAY-832] Fix compose modal mutuals default #2873

Merged
merged 2 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,7 @@ export const audiusBackend = ({
async function getFolloweeFollows(userId: ID, limit = 100, offset = 0) {
let followers = []
try {
await waitForLibsInit()
followers = await audiusLibs.User.getMutualFollowers(
limit,
offset,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const SearchUsersModal = (props: SearchUsersModalProps) => {
const users = getUsers(state, { ids })
return ids.map((id) => users[id])
},
[hasQuery, userIds]
[hasQuery, userIds, isVisible]
)

useDebounce(
Expand Down