
{caption && (
diff --git a/apps/web/src/components/ui/report/plugins/suggestion-kit.tsx b/apps/web/src/components/ui/report/plugins/suggestion-kit.tsx
index 355fc8ef9..8f7578525 100644
--- a/apps/web/src/components/ui/report/plugins/suggestion-kit.tsx
+++ b/apps/web/src/components/ui/report/plugins/suggestion-kit.tsx
@@ -8,7 +8,7 @@ import {
isSlateElement,
isSlateString
} from 'platejs';
-import { toTPlatePlugin } from 'platejs/react';
+import { toTPlatePlugin, type RenderNodeWrapper } from 'platejs/react';
import { BlockSuggestion } from '../elements/BlockSuggestion';
import { SuggestionLeaf, SuggestionLineBreak } from '../elements/SuggestionNode';
@@ -77,7 +77,8 @@ export const suggestionPlugin = toTPlatePlugin
(
}
},
render: {
- belowNodes: SuggestionLineBreak as any,
+ // @ts-expect-error - TODO: fix this
+ belowNodes: SuggestionLineBreak,
node: SuggestionLeaf,
belowRootNodes: ({ api, element }) => {
if (!api.suggestion!.isBlockSuggestion(element)) {
diff --git a/apps/web/src/components/ui/toolbar/Toolbar.tsx b/apps/web/src/components/ui/toolbar/Toolbar.tsx
index fe00db258..e925d51a0 100644
--- a/apps/web/src/components/ui/toolbar/Toolbar.tsx
+++ b/apps/web/src/components/ui/toolbar/Toolbar.tsx
@@ -13,7 +13,7 @@ import {
DropdownMenuSeparator
} from '@/components/ui/dropdown-menu';
import { Separator } from '@/components/ui/separator';
-import { Tooltip, TooltipTrigger } from '@/components/ui/tooltip';
+import { Tooltip } from '@/components/ui/tooltip';
import { cn } from '@/lib/utils';
export const Toolbar = React.forwardRef<
@@ -210,6 +210,8 @@ export const ToolbarSplitButtonSecondary = React.forwardRef<
);
});
+ToolbarSplitButtonSecondary.displayName = 'ToolbarSplitButtonSecondary';
+
export const ToolbarToggleItem = React.forwardRef<
React.ElementRef,
React.ComponentProps &
@@ -223,6 +225,8 @@ export const ToolbarToggleItem = React.forwardRef<
);
});
+ToolbarToggleItem.displayName = 'ToolbarToggleItem';
+
export const ToolbarGroup = ({ children, className }: React.ComponentProps<'div'>) => {
return (
@@ -363,3 +367,5 @@ export const ToolbarButton = React.forwardRef<
);
});
+
+ToolbarButton.displayName = 'ToolbarButton';