diff --git a/src/components/CompletedDashboard.tsx b/src/components/CompletedDashboard.tsx index 23bfcdb..da47b51 100644 --- a/src/components/CompletedDashboard.tsx +++ b/src/components/CompletedDashboard.tsx @@ -95,6 +95,7 @@ const CompletedDashboard = ({ list, id, dashboardId, onLoadMore }: Props) => { picture={block.picture ?? ''} progress={settings.progress ?? ''} highlightColor={settings.highlightColor ?? ''} + type={block.type ?? ''} /> ); diff --git a/src/components/DeleteButton.tsx b/src/components/DeleteButton.tsx index c11f97e..ac62eda 100644 --- a/src/components/DeleteButton.tsx +++ b/src/components/DeleteButton.tsx @@ -32,7 +32,7 @@ const DeleteButton = ({ id, list, removeValue }: Props) => { {list.map( ( - { title, blockId, contents, dDay, dashboardId, dType, nickname, picture }, + { title, blockId, contents, dDay, dashboardId, dType, nickname, picture, type }, index ) => ( @@ -50,6 +50,7 @@ const DeleteButton = ({ id, list, removeValue }: Props) => { dType={dType} name={nickname} picture={picture} + type={type ?? ''} /> ) diff --git a/src/components/InProgressDashboard.tsx b/src/components/InProgressDashboard.tsx index 19961a6..26b82d9 100644 --- a/src/components/InProgressDashboard.tsx +++ b/src/components/InProgressDashboard.tsx @@ -98,6 +98,7 @@ const InProgressDashboard = ({ list, id, dashboardId, onLoadMore }: Props) => { picture={block.picture ?? ''} progress={settings.progress ?? ''} highlightColor={settings.highlightColor ?? ''} + type={block.type ?? ''} /> );