diff --git a/demo/src/App.tsx b/demo/src/App.tsx index cdb3b640..587e833c 100644 --- a/demo/src/App.tsx +++ b/demo/src/App.tsx @@ -1,6 +1,6 @@ import React, { useState } from "react"; import SvgDisplay from "./SvgDisplay"; -import MemoryModelsTab from "./MemoryModels"; +import MemoryModelsUserInput from "./MemoryModels"; import { ErrorBoundary } from "react-error-boundary"; import DownloadJSONButton from "./DownloadJSONButton"; import DownloadSVGButton from "./DownloadSVGButton"; @@ -26,7 +26,7 @@ export default function App() { return ( <> - )} - {svgResult && ( + {jsonResult && svgResult && ( )} diff --git a/demo/src/DownloadJSONButton.tsx b/demo/src/DownloadJSONButton.tsx index 6e99f92c..bd9804e0 100644 --- a/demo/src/DownloadJSONButton.tsx +++ b/demo/src/DownloadJSONButton.tsx @@ -13,7 +13,7 @@ export default function DownloadJSONButton(props: DownloadJSONButtonPropTypes) {