Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cancel removes memo cache #3826

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

RoccoSmit
Copy link
Contributor

@RoccoSmit RoccoSmit commented Aug 23, 2024

PR related to this issue: #3792

Finding:
When editing a memo and cancelling the edit the local storage retains the edited changes rather than clearing out the local storage record. This creates a scenario where the user cant go back to the original state of the memo of editing unless they clear the local state record manually.

image

Changes made:
Updated the functionality of the cancel button click event to also clear out the local storage record for the memo

@boojack boojack changed the title Cancel removes memo cache fix: cancel removes memo cache Aug 23, 2024
@boojack boojack merged commit eca9649 into usememos:main Aug 23, 2024
2 checks passed
@RoccoSmit RoccoSmit deleted the cancel-remove-memo-cache branch August 24, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants