Load pages on render

pull/3947/head
Kamran Ahmed 2 years ago
parent cc7f9d94bb
commit 0555452bf2
  1. 1
      src/components/CommandMenu/CommandMenu.tsx

@ -67,6 +67,7 @@ export function CommandMenu() {
setIsActive(true);
}
getAllPages();
window.addEventListener(`command.k`, handleToggleTopic);
return () => {
window.removeEventListener(`command.k`, handleToggleTopic);

Loading…
Cancel
Save