From 2df01622cdd1653fd5b15c5272537546ee420f70 Mon Sep 17 00:00:00 2001 From: Lenghak Hok Date: Tue, 7 May 2024 16:25:36 +0700 Subject: [PATCH] fix: template disabled code block by default --- .../src/components/plate-ui/command.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/plate-playground-template/src/components/plate-ui/command.tsx b/templates/plate-playground-template/src/components/plate-ui/command.tsx index 7d3493e5d5..286580e68b 100644 --- a/templates/plate-playground-template/src/components/plate-ui/command.tsx +++ b/templates/plate-playground-template/src/components/plate-ui/command.tsx @@ -64,7 +64,7 @@ export const CommandSeparator = withCn( export const CommandItem = withCn( CommandPrimitive.Item, - 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50' + 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50' ); export const CommandShortcut = withCn(