From eae720c908eb180bedd490c06490e378a7dbf81d Mon Sep 17 00:00:00 2001 From: huchenlei Date: Thu, 24 Oct 2024 10:43:13 -0400 Subject: [PATCH] nit --- src/renderer/components/ComfyUIContainer.tsx | 7 ++----- src/renderer/index.tsx | 7 +------ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/renderer/components/ComfyUIContainer.tsx b/src/renderer/components/ComfyUIContainer.tsx index 8814f080..704b1b5f 100644 --- a/src/renderer/components/ComfyUIContainer.tsx +++ b/src/renderer/components/ComfyUIContainer.tsx @@ -29,10 +29,7 @@ const logContainerStyle: React.CSSProperties = { height: '300px', }; -const ComfyUIContainer: React.FC = ({ - comfyPort, - preloadScript, -}) => { +const ComfyUIContainer: React.FC = ({ comfyPort, preloadScript }) => { const [showStreamingLogs, setShowStreamingLogs] = useState(false); useEffect(() => { @@ -60,4 +57,4 @@ const ComfyUIContainer: React.FC = ({ ); }; -export default ComfyUIContainer; \ No newline at end of file +export default ComfyUIContainer; diff --git a/src/renderer/index.tsx b/src/renderer/index.tsx index e9093240..1a14e5b8 100644 --- a/src/renderer/index.tsx +++ b/src/renderer/index.tsx @@ -104,12 +104,7 @@ const Home: React.FC = () => { } if (comfyReady && comfyPort) { - return ( - - ); + return ; } return (