Skip to content

Commit 351bb3a

Browse files
authored
[VT2-284] chore: 31차 배포
2 parents 7185f4a + 9476203 commit 351bb3a

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

src/components/SearchBar/SearchBar.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,18 @@ const SearchBar = ({ onSubmit, defaultValue = '', className }: SearchBarProps) =
119119
)}
120120
{item.trend === 'UP' && (
121121
<div className="text-error flex items-center gap-1.5">
122-
<span className="inline-block w-3">
122+
<span>
123123
<TriangleIcon className="h-2 w-2" />
124124
</span>
125-
<span>{item.rankGap}</span>
125+
<span className="inline-block w-3 text-end">{item.rankGap}</span>
126126
</div>
127127
)}
128128
{item.trend === 'DOWN' && (
129129
<div className="text-info flex items-center gap-1.5">
130-
<span className="inline-block w-3">
130+
<span>
131131
<TriangleIcon className="h-2 w-2 rotate-180" />
132132
</span>
133-
<span>{item.rankGap}</span>
133+
<span className="inline-block w-3 text-end">{item.rankGap}</span>
134134
</div>
135135
)}
136136
{item.trend === 'SAME' && <span className="font-black"></span>}
@@ -162,18 +162,18 @@ const SearchBar = ({ onSubmit, defaultValue = '', className }: SearchBarProps) =
162162
)}
163163
{item.trend === 'UP' && (
164164
<div className="text-error flex items-center gap-1.5">
165-
<span className="inline-block w-3">
165+
<span>
166166
<TriangleIcon className="h-2 w-2" />
167167
</span>
168-
<span>{item.rankGap}</span>
168+
<span className="inline-block w-3 text-end">{item.rankGap}</span>
169169
</div>
170170
)}
171171
{item.trend === 'DOWN' && (
172172
<div className="text-info flex items-center gap-1.5">
173-
<span className="inline-block w-3">
173+
<span>
174174
<TriangleIcon className="h-2 w-2 rotate-180" />
175175
</span>
176-
<span>{item.rankGap}</span>
176+
<span className="inline-block w-3 text-end">{item.rankGap}</span>
177177
</div>
178178
)}
179179
{item.trend === 'SAME' && <span className="font-black"></span>}

src/pages/ChangeDataPage/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ const ChangeDataPage = () => {
4343
onSuccess: () => {
4444
showToast?.({ type: 'success', msg: '데이터 전환이 완료되었습니다.' })
4545
setIsModalOpen(false)
46-
navigate('/mypage/data-charge')
46+
47+
if (deviceType === 'mobile') {
48+
navigate('/')
49+
} else {
50+
navigate('/mypage/data-charge')
51+
}
4752
},
4853
onError: error => {
4954
showToast?.({

0 commit comments

Comments
 (0)