fix: React warning size of memo changing between renders
This commit is contained in:
@@ -27,7 +27,7 @@ export default function useCommandBarActions(actions: Action[]) {
|
||||
);
|
||||
|
||||
useRegisterActions(registerable, [
|
||||
...registerable.map((r) => r.id),
|
||||
registerable.map((r) => r.id).join(""),
|
||||
location.pathname,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user