Skip to content

Commit

Permalink
refactor: 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
D0Dam committed Nov 26, 2023
1 parent 1830df6 commit 25b9bab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
color: #666;
transition: all 0.2s ease;

&__active {
&--active {
background: #ff7f23;
color: #fff;
}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/ShopDetail/components/ScrapButton/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import useScrap from 'pages/ShopDetail/hooks/useScrap';
import useScrap from 'utils/hooks/useScrap';
import cn from 'utils/ts/classNames';
import { ReactComponent as BookMarkIcon } from 'assets/svg/shop/book-mark.svg';
import styles from './ScrapButton.module.scss';
Expand All @@ -18,7 +18,7 @@ function ScrapButton({ placeId, initialScrapId = null }: Props) {
disabled={isPending}
className={cn({
[styles['scrap-button']]: true,
[styles['scrap-button__active']]: scrapId !== null,
[styles['scrap-button--active']]: scrapId !== null,
})}
>
{scrapId ? <BookMarkIcon fill="#fff" stroke="#fff" /> : <BookMarkIcon stroke="#666" />}
Expand Down
File renamed without changes.

0 comments on commit 25b9bab

Please sign in to comment.