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

Commit

Permalink
[C-2126] Fix empty collections on first session (#2849)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers committed Feb 14, 2023
1 parent 62ff307 commit 3ccde2e
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 3ccde2e

Please sign in to comment.