Skip to content

Extract toolbar actions into separate hook

I noticed there was a TODO comment in useTableTools.js asking to extract the toolbar actions logic into a separate hook, so I went ahead and did that!

Created a new useToolbarActions hook that handles all the toolbar actions stuff - basically took that inline useMemo block and moved it into its own dedicated hook. This makes the code cleaner and more organized.

Merge request reports

Loading