From 5ae13fefbb8849207d3dad4a42443ca73449c6da Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Wed, 10 Jul 2024 17:30:45 +0530 Subject: [PATCH] fix playground --- package.json | 2 +- playground/ExcalidrawWrapper.tsx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b4c53071..36d47555 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@excalidraw/mermaid-to-excalidraw", - "version": "1.1.0-next.2", + "version": "1.1.0-next.3", "description": "Mermaid to Excalidraw Diagrams", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/playground/ExcalidrawWrapper.tsx b/playground/ExcalidrawWrapper.tsx index 74806e43..f1b4a452 100644 --- a/playground/ExcalidrawWrapper.tsx +++ b/playground/ExcalidrawWrapper.tsx @@ -31,9 +31,7 @@ const ExcalidrawWrapper = ({ } const { elements, files } = graphToExcalidraw(mermaidOutput, { - themeVariables: { - fontSize: `${DEFAULT_FONT_SIZE}px`, - }, + fontSize: DEFAULT_FONT_SIZE, }); excalidrawAPI.updateScene({