Fix cmdk syntax error
This commit is contained in:
parent
93cf0d1f23
commit
6226500cd6
@ -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 });
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user