diff --git a/src/components/cmdk/CommandKClient.tsx b/src/components/cmdk/CommandKClient.tsx index 4f409c1f..3d679263 100644 --- a/src/components/cmdk/CommandKClient.tsx +++ b/src/components/cmdk/CommandKClient.tsx @@ -442,7 +442,7 @@ export default function CommandKClient({ if (path) { if (path !== pathname) { setKeyPending(key); - startTransition(async () => { + startTransition(() => { shouldCloseAfterPending.current = true; router.push(path, { scroll: true }); });