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,
|
||||
]);
|
||||
}
|
||||
|
@ -8,7 +8,18 @@
|
||||
"Development": "Development",
|
||||
"Open document": "Open document",
|
||||
"New document": "New document",
|
||||
"Star": "Star",
|
||||
"Unstar": "Unstar",
|
||||
"Download": "Download",
|
||||
"Download document": "Download document",
|
||||
"Duplicate": "Duplicate",
|
||||
"Duplicate document": "Duplicate document",
|
||||
"Document duplicated": "Document duplicated",
|
||||
"Print": "Print",
|
||||
"Print document": "Print document",
|
||||
"Import document": "Import document",
|
||||
"Templatize": "Templatize",
|
||||
"Create template": "Create template",
|
||||
"Home": "Home",
|
||||
"Search": "Search",
|
||||
"Drafts": "Drafts",
|
||||
@ -198,8 +209,6 @@
|
||||
"Export": "Export",
|
||||
"Integrations": "Integrations",
|
||||
"Installation": "Installation",
|
||||
"Unstar": "Unstar",
|
||||
"Star": "Star",
|
||||
"Previous page": "Previous page",
|
||||
"Next page": "Next page",
|
||||
"Could not import file": "Could not import file",
|
||||
@ -218,7 +227,6 @@
|
||||
"Sort in sidebar": "Sort in sidebar",
|
||||
"Alphabetical sort": "Alphabetical sort",
|
||||
"Manual sort": "Manual sort",
|
||||
"Document duplicated": "Document duplicated",
|
||||
"Document restored": "Document restored",
|
||||
"Document unpublished": "Document unpublished",
|
||||
"Document options": "Document options",
|
||||
@ -227,15 +235,11 @@
|
||||
"Unpin": "Unpin",
|
||||
"Pin to collection": "Pin to collection",
|
||||
"New nested document": "New nested document",
|
||||
"Create template": "Create template",
|
||||
"Duplicate": "Duplicate",
|
||||
"Unpublish": "Unpublish",
|
||||
"Permanently delete": "Permanently delete",
|
||||
"Move": "Move",
|
||||
"Enable embeds": "Enable embeds",
|
||||
"Disable embeds": "Disable embeds",
|
||||
"Download": "Download",
|
||||
"Print": "Print",
|
||||
"Move {{ documentName }}": "Move {{ documentName }}",
|
||||
"Permanently delete {{ documentName }}": "Permanently delete {{ documentName }}",
|
||||
"Export options": "Export options",
|
||||
|
Reference in New Issue
Block a user