You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I am interested in taking up this issue. Here are my thoughts on solving it. Please correct me if I am wrong.
I think I need to add refreshSnippetList() as a dependency by wrapping the piece of code below in useEffect. Link to the code on GitHub
hey @MdSadiqMd the only issue i see here is the linked code that you attached here, since this is around a new asset (snippet) being created, it may be better to have the list refresh when the snippet list is refreshed after a user creates a new snippet and adding it here under createAsset, and also adding a similar functionality when an asset is deleted as well. 👍
let me know if there are any other questions but feel free to get started on this 😄
At the moment when a new snippet is created, the snippet list doesn't refresh automatically. It should refresh upon creation of the snippet.
The text was updated successfully, but these errors were encountered: