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
@ -180,6 +180,7 @@ const forwardedRefComp = forwardRef<
|
|||||||
>((props, ref) => <ExcalidrawBase {...props} excalidrawRef={ref} />);
|
>((props, ref) => <ExcalidrawBase {...props} excalidrawRef={ref} />);
|
||||||
|
|
||||||
export const Excalidraw = React.memo(forwardedRefComp, areEqual);
|
export const Excalidraw = React.memo(forwardedRefComp, areEqual);
|
||||||
|
Excalidraw.displayName = "Excalidraw";
|
||||||
|
|
||||||
export {
|
export {
|
||||||
getSceneVersion,
|
getSceneVersion,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user