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

[C-2126] Fix empty collections on first session #2849

Merged
merged 1 commit into from
Feb 14, 2023
Merged
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
3 changes: 0 additions & 3 deletions packages/web/src/common/store/profile/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ function* confirmUpdateProfile(userId, metadata) {
yield waitForWrite()
const apiClient = yield getContext('apiClient')
const audiusBackendInstance = yield getContext('audiusBackendInstance')
const localStorage = yield getContext('localStorage')
yield put(
confirmerActions.requestConfirmation(
makeKindId(Kind.USERS, userId),
Expand Down Expand Up @@ -551,8 +550,6 @@ function* confirmUpdateProfile(userId, metadata) {
return users[0]
},
function* (confirmedUser) {
// Store the update in local storage so it is correct upon reload
yield call([localStorage, 'setAudiusAccountUser'], confirmedUser)
// Update the cached user so it no longer contains image upload artifacts
// and contains updated profile picture / cover photo sizes if any
const newMetadata = {
Expand Down