File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { Whisper } from '../type';
1212import MenuButton from './MenuButton' ;
1313import MobileCheckbox from './MobileCheckbox' ;
1414import Overlay from './Overlay' ;
15+ import { POST } from '@/pages/Community/constants' ;
1516import { PATH } from '@/routes/constants' ;
1617
1718interface WhisperProps {
@@ -85,7 +86,7 @@ const WhisperItem = ({
8586 fontSize = { '16px' }
8687 fontWeight = { 'medium' }
8788 >
88- 텃밭 자랑
89+ { POST . TYPE [ item . postType ] }
8990 </ Flex >
9091 < Box hideFrom = { 'tablet' } ml = "auto" >
9192 < ThreeDotsMenuIcon onClick = { menuOpen } cursor = "pointer" />
Original file line number Diff line number Diff line change 11import React , { SetStateAction } from 'react' ;
2+ import { PostType } from '../Community/types' ;
23
34export interface IMainRoute {
45 href : string ;
@@ -17,6 +18,7 @@ export interface Whisper {
1718 content : string ;
1819 likesCount : number ;
1920 commentsCount : number ;
21+ postType : PostType ;
2022 userInfo : {
2123 userId : number ;
2224 profile : string ;
You can’t perform that action at this time.
0 commit comments