@@ -3,7 +3,7 @@ import { cx } from '@styled-system/css';
33import * as s from './style.css' ;
44
55interface Props {
6- type : 'search' | '404' | 'like' | 'chat' | 'pick' | 'chat-list' ;
6+ type : 'search' | '404' | 'like' | 'chat' | 'pick' | 'chat-list' | 'notification' | 'my-trade' ;
77}
88const NoResult = ( { type } : Props ) => {
99 const icon = type === 'search' ? 'mgc_alert_fill' : 'mgc_puzzled_fill' ;
@@ -14,6 +14,8 @@ const NoResult = ({ type }: Props) => {
1414 if ( type === 'chat' ) return 'μμ§ μμλ λνκ° μμ΄μ!' ;
1515 if ( type === 'chat-list' ) return 'μμ§ μμλ λνκ° μμ΄μ!' ;
1616 if ( type === 'pick' ) return 'μμ§ μμ±λ PICKμ΄ μμ΄μ!' ;
17+ if ( type === 'notification' ) return 'μμ§ μλ¦Όμ΄ μμ΄μ!' ;
18+ if ( type === 'my-trade' ) return 'μμ§ λ±λ‘ν μνμ΄ μμ΄μ!' ;
1719 return 'μμ§ κ΄μ¬λͺ©λ‘μ΄ μμ΄μ!' ;
1820 } ) ( ) ;
1921
@@ -22,7 +24,9 @@ const NoResult = ({ type }: Props) => {
2224 if ( type === '404' ) return 'λ€λ₯Έ κ²½λ‘λ‘ μ μν΄ μ£ΌμΈμ.' ;
2325 if ( type === 'chat' ) return 'μνμ κ΄μ¬ μλ μ¬λμ΄ λνλλ©΄\nμ±ν
μ μ£Όκ³ λ°μ μ μμ΅λλ€.' ;
2426 if ( type === 'chat-list' ) return 'μ±ν
μ μμν΄ λ³΄μΈμ.' ;
25- if ( type === 'pick' ) return 'μ½μμ μμ±ν΄ 보μΈμ.' ;
27+ if ( type === 'pick' ) return 'PICKμ μμ±ν΄ 보μΈμ.' ;
28+ if ( type === 'notification' ) return 'PICKμ μμ±ν΄ 보μΈμ.' ;
29+ if ( type === 'my-trade' ) return 'μνμ λ±λ‘ν΄ λ³΄μΈμ.' ;
2630 return 'μνλ μνμ κ΄μ¬λͺ©λ‘μ λ΄μ 보μΈμ.' ;
2731 } ) ( ) ;
2832
0 commit comments