From 3e78f484159f6b2600be30ba75b6910beff351ff Mon Sep 17 00:00:00 2001 From: designDefined Date: Mon, 7 Aug 2023 23:43:24 +0900 Subject: [PATCH] Fix: submit link (#88) --- src/components/rookie/Progress/PortfolioCard.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/rookie/Progress/PortfolioCard.tsx b/src/components/rookie/Progress/PortfolioCard.tsx index baa3ce6..83bc851 100644 --- a/src/components/rookie/Progress/PortfolioCard.tsx +++ b/src/components/rookie/Progress/PortfolioCard.tsx @@ -4,12 +4,12 @@ import { useEffect, useMemo, useState } from "react"; import { useQuery, useQueryClient } from "@tanstack/react-query"; import { deletePortfolioFile, - // deletePortfolioLink, + deletePortfolioLink, downloadPortfolioFile, getPortfolioFiles, getPortfolioLinks, postPortfolioFile, - // postPortfolioLink, + postPortfolioLink, uploadPortfolioFileToS3, } from "../../../apis/portfolio"; import { LoadingBackgroundBlink } from "../../../lib/loading"; @@ -153,7 +153,7 @@ export default function PortfolioCard() { )} - {/* +
링크 첨부
{linksInput.map((input, index) => ( @@ -182,7 +182,7 @@ export default function PortfolioCard() { }} /> ))} -
*/} + ); } @@ -293,7 +293,7 @@ const DeleteButton = styled.button` opacity: 0.5; } `; -/* + const LinkSection = styled.div` width: 237px; display: flex; @@ -309,7 +309,7 @@ const LinkInput = styled.input` color: #404040; font-size: 16px; font-weight: 400; - line-height: 160%; + line-height: 160%; letter-spacing: 0.64px; border: none; border-radius: 5px; @@ -319,7 +319,6 @@ const LinkInput = styled.input` color: #d9d9d9; } `; -*/ const Name = styled.h1` font-size: 24px;