Skip to content

Conversation

@YoanBabulkov
Copy link
Contributor

Proposed Changes

Wrap the storage.saveProject function in an arrow function when passing to onUpdateProjectThumbnail

Reason for Changes

We need to preserve the correct this binding when invoking the saveProjectThumbnail. Wrapping in an arrow function ensures we invoke the function from the correct object (storage)

@YoanBabulkov YoanBabulkov merged commit c71a3d7 into develop Feb 6, 2025
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants