Polaris React Index Table component: How to clear selection from code.

belazaras
New Member
2 0 1

I have code to delete some items from the table but the selection will not update. How do I trigger a recalculation of selectedResources from useIndexResourceState?