From 771372c66b13bd008a63c68ec23df81deb0ec145 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Tue, 19 Jul 2022 21:04:05 +0530 Subject: [PATCH] fix: add display name for Excalidraw component so it doesn't show as anonymous (#5464) fix: add display name for Excalidraw component --- src/packages/excalidraw/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/packages/excalidraw/index.tsx b/src/packages/excalidraw/index.tsx index fc567a5c..7e0798f4 100644 --- a/src/packages/excalidraw/index.tsx +++ b/src/packages/excalidraw/index.tsx @@ -180,6 +180,7 @@ const forwardedRefComp = forwardRef< >((props, ref) => ); export const Excalidraw = React.memo(forwardedRefComp, areEqual); +Excalidraw.displayName = "Excalidraw"; export { getSceneVersion,