feat: Add print, duplicate, template to command bar

This commit is contained in:
Tom Moor
2021-10-25 20:41:28 -07:00
parent 4266a95569
commit 043a7b41b5
5 changed files with 166 additions and 11 deletions

View File

@ -26,5 +26,8 @@ export default function useCommandBarActions(actions: Action[]) {
actions.map((action) => actionToKBar(action, context))
);
useRegisterActions(registerable, [registerable.length, location.pathname]);
useRegisterActions(registerable, [
...registerable.map((r) => r.id),
location.pathname,
]);
}