From 0d8796d23c2f50a6ffbd06a52141c10a7c9abedf Mon Sep 17 00:00:00 2001 From: Joe Anderson Date: Mon, 23 Oct 2023 17:39:55 +0100 Subject: [PATCH] Add `asChild` to the TooltipTrigger in ToolbarButton --- apps/www/src/registry/default/plate-ui/toolbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/src/registry/default/plate-ui/toolbar.tsx b/apps/www/src/registry/default/plate-ui/toolbar.tsx index 57c64e00e5..535897952d 100644 --- a/apps/www/src/registry/default/plate-ui/toolbar.tsx +++ b/apps/www/src/registry/default/plate-ui/toolbar.tsx @@ -146,7 +146,7 @@ const ToolbarButton = React.forwardRef< return isLoaded && tooltip ? ( - {content} + {content} {tooltip}