File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
services/ahhachul.com/src
components/domain/home/stations/trainRealTimes Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ export const prefetchUserFavoriteStations = async () => {
5454export const createUserFavoriteStations = async ( stations : any ) => {
5555 const response = await axiosInstance . post < ApiResponse < UserFavoriteStations > > (
5656 '/members/bookmarks/stations' ,
57- { stations : stations . map ( ( item : any ) => ( { ...item , stationName : item . stationName + '역' } ) ) } ,
57+ { stations } ,
58+ // { stations: stations.map((item: any) => ({ ...item, stationName: item.stationName + '역' })) },
5859 ) ;
5960
6061 return response . data ;
Original file line number Diff line number Diff line change @@ -66,8 +66,7 @@ const TrainArrivalStatus = memo(
6666 : currentTrainArrivalCode === 'RUNNING'
6767 ? formatTime ( remainingSeconds )
6868 : currentTrainArrivalCode
69- ? trainArrivalCodeMap [ currentTrainArrivalCode as keyof typeof trainArrivalCodeMap ] ||
70- '운행 종료'
69+ ? trainArrivalCodeMap [ currentTrainArrivalCode as keyof typeof trainArrivalCodeMap ] || ''
7170 : '운행 종료' ;
7271
7372 return (
You can’t perform that action at this time.
0 commit comments