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:
Aakansha Doshi 2022-07-19 21:04:05 +05:30 committed by GitHub
parent a7937681e9
commit 771372c66b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,