mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: add display name for Excalidraw component so it doesn't show as anonymous (#5464)
fix: add display name for Excalidraw component
This commit is contained in:
parent
a7937681e9
commit
771372c66b
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ const forwardedRefComp = forwardRef<
|
|||
>((props, ref) => <ExcalidrawBase {...props} excalidrawRef={ref} />);
|
||||
|
||||
export const Excalidraw = React.memo(forwardedRefComp, areEqual);
|
||||
Excalidraw.displayName = "Excalidraw";
|
||||
|
||||
export {
|
||||
getSceneVersion,
|
||||
|
|
Loading…
Add table
Reference in a new issue