Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: Delete folder from cache after successful deletion #3686

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

anovazzi1
Copy link
Contributor

This pull request includes a commit that adds functionality to delete a folder from the cache after a successful deletion. The commit modifies the useDeleteFolders function to return the folder ID, which is then used in the onSuccess callback to remove the folder from the cache. This ensures that the cache is updated correctly after a folder is deleted.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. enhancement New feature or request labels Sep 4, 2024
Copy link
Collaborator

@lucaseduoli lucaseduoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 4, 2024
@github-actions github-actions bot added bug Something isn't working and removed enhancement New feature or request labels Sep 4, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3686.dmtpw4p5recq1.amplifyapp.com

@anovazzi1 anovazzi1 merged commit 533d5af into main Sep 4, 2024
20 checks passed
@anovazzi1 anovazzi1 deleted the fixInvalidQueries branch September 4, 2024 21:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants