Skip to content

Commit

Permalink
fix(article): rss 비노출
Browse files Browse the repository at this point in the history
  • Loading branch information
gracefulBrown committed May 29, 2024
1 parent b78d2c0 commit f20f07f
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions frontend/src/components/ProfilePageSideBar/ProfilePageSideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,31 +114,31 @@ const ProfilePageSideBar = ({ menu }: ProfilePageSideBarProps) => {
</Button>
)}
</NicknameWrapper>
<RssLinkLabel>RSS Link</RssLinkLabel>
<RssFeedWrapper>
{isRssFeedEditing ? (
<RssFeedInput
autoFocus
value={rssFeedUrl}
onChange={({ target }) => setRssFeedUrl(target.value)}
/>
) : (
<RssFeedUrl>{rssFeedUrl}</RssFeedUrl>
)}
{isOwner && (
<Button
size={BUTTON_SIZE.X_SMALL}
type="button"
css={EditButtonStyle}
alt={isRssFeedEditing ? '수정 완료 버튼' : '수정 버튼'}
onClick={() => {
isRssFeedEditing ? editProfile() : setIsRssFeedEditing(true);
}}
>
{isRssFeedEditing ? '완료' : '수정'}
</Button>
)}
</RssFeedWrapper>
{/*<RssLinkLabel>RSS Link</RssLinkLabel>*/}
{/*<RssFeedWrapper>*/}
{/* {isRssFeedEditing ? (*/}
{/* <RssFeedInput*/}
{/* autoFocus*/}
{/* value={rssFeedUrl}*/}
{/* onChange={({ target }) => setRssFeedUrl(target.value)}*/}
{/* />*/}
{/* ) : (*/}
{/* <RssFeedUrl>{rssFeedUrl}</RssFeedUrl>*/}
{/* )}*/}
{/* {isOwner && (*/}
{/* <Button*/}
{/* size={BUTTON_SIZE.X_SMALL}*/}
{/* type="button"*/}
{/* css={EditButtonStyle}*/}
{/* alt={isRssFeedEditing ? '수정 완료 버튼' : '수정 버튼'}*/}
{/* onClick={() => {*/}
{/* isRssFeedEditing ? editProfile() : setIsRssFeedEditing(true);*/}
{/* }}*/}
{/* >*/}
{/* {isRssFeedEditing ? '완료' : '수정'}*/}
{/* </Button>*/}
{/* )}*/}
{/*</RssFeedWrapper>*/}
</Profile>
{isLoading ? <></> : <BadgeList badgeList={badgeList} />}
<MenuList>
Expand Down

0 comments on commit f20f07f

Please sign in to comment.