Skip to content

Commit

Permalink
🔨 Refactor(#83): 스타일 파일CosmeticItem타입 참조 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
rhehfl committed Dec 8, 2024
1 parent ce8ba12 commit de4e42f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/features/store/ui/styles.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Item from '@/types/CosmeticItem ';
import CosmeticItem from '@type/CosmeticItem ';
import styled, { css } from 'styled-components';

export const ItemContainer = styled.ul<{ $category: Item['category'] }>`
export const ItemContainer = styled.ul<{ $category: CosmeticItem['category'] }>`
margin: 18px 0 27px 0;
display: grid;
grid-template-columns: repeat(4, 144px);
Expand Down Expand Up @@ -59,7 +59,7 @@ export const ItemLabel = styled.label`
font: inherit;
`;

export const ItemImage = styled.img<{ $category: Item['category'] }>`
export const ItemImage = styled.img<{ $category: CosmeticItem['category'] }>`
width: 125px;
height: 70px;
${({ $category }) =>
Expand Down

0 comments on commit de4e42f

Please sign in to comment.