diff --git a/summe/src/component/graph/GraphWrapper.jsx b/summe/src/component/graph/GraphWrapper.jsx index 2f18148..0ea4ff7 100644 --- a/summe/src/component/graph/GraphWrapper.jsx +++ b/summe/src/component/graph/GraphWrapper.jsx @@ -4,26 +4,26 @@ import "./GraphTitle.css"; // 회전하는 로딩 중 표시 const LoadingBox = () => { - return
; + return
; }; const GraphTitle = ({ title, description }) => { return (
{title}
-
+
help_outline
{description}
); - + }; -export default function GraphWrapper({ data, type, height, width, title = "그래프 제목", description = "그래프 설명"}) { +export default function GraphWrapper({ data, type, height, width, title = "그래프 제목", description = "그래프 설명" }) { return ( -
- +
+ {data ? - : + : }
);