diff --git a/src/components/CustomNode/styles.tsx b/src/components/CustomNode/styles.tsx index 7455498..b64a17d 100644 --- a/src/components/CustomNode/styles.tsx +++ b/src/components/CustomNode/styles.tsx @@ -26,8 +26,8 @@ export const StyledTextWrapper = styled.div` export const StyledText = styled.div<{ width: number; height: number; - parent: boolean; - hideCollapse: boolean; + parent?: boolean; + hideCollapse?: boolean; }>` display: flex; justify-content: center; diff --git a/src/containers/Editor/Tools.tsx b/src/containers/Editor/Tools.tsx index a495365..0d1b61a 100644 --- a/src/containers/Editor/Tools.tsx +++ b/src/containers/Editor/Tools.tsx @@ -78,7 +78,7 @@ export const Tools: React.FC = () => { {!performanceMode && } - {!performance && ( + {!performanceMode && ( setDownloadVisible(true)}