ResourcePicker is not showing the newly created collection

ResourcePicker is not showing the newly created collection

sudipto-28
Shopify Partner
3 0 2

 I am trying to build a new shopify app that duplicates a collection. So I tried to show all collections using the ResourcePicker component so that user can select the collection to duplicate. After duplicating the collection I return back to the index page where the ResourcePicker component is situated.  But when I try to open the ResourcePicker component I couldn't find the newly created collection. But I could see it on the collection page. Also, the ResourcePicker component shows the collection only if I reload the page. Does anyone know how to rerender the ResourcePicker component after the collection is created? 

Sudipta
Replies 0 (0)