Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit a972026

Browse files
committed
Tempfix in PostSeriesInfo
1 parent 5f986e9 commit a972026

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

velog-frontend/src/components/post/PostSeriesInfo/PostSeriesInfo.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class PostSeriesInfo extends Component<Props, State> {
6262
const { series, username } = this.props;
6363
const { name, index, length, list } = series;
6464
const { open } = this.state;
65-
console.log(index, list);
6665

6766
return (
6867
<div className="PostSeriesInfo">
@@ -91,11 +90,8 @@ class PostSeriesInfo extends Component<Props, State> {
9190
목록보기
9291
</div>
9392
<div className="controls">
94-
<Square mode="left" to={index === 1 ? null : `/@${username}/${list[index].url_slug}`} />
95-
<Square
96-
mode="right"
97-
to={index === length ? null : `/@${username}/${list[index].url_slug}`}
98-
/>
93+
<Square mode="left" to={index === 0 ? null : `/@${username}`} />
94+
<Square mode="right" to={index === length ? null : `/@${username}/}`} />
9995
</div>
10096
</div>
10197
</div>

0 commit comments

Comments
 (0)