Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KyuTae98 committed Dec 11, 2023
2 parents 9142749 + cb191b5 commit 27882a4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const StyledSignInfoSubway = styled.button`
padding: 0;
margin: 1em 0;
`
const StyledSingBusTimer = styled.div`
display: flex;
`


const SignDetailInfoList = ({info}:any) => {
Expand Down
1 change: 1 addition & 0 deletions Backend/Frontend/creative/src/utils/getSignApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const getSignBusNSub = (sTmY: any, sTmX: any, eTmY: any, eTmX: any) => {
} catch (error) {
alert("잘못된 위치 입니다!")
window.location.href = "/#/sign"
console.log(error);
}
};
return {
Expand Down
2 changes: 1 addition & 1 deletion BackendJS/BackendTS/routes/subwaydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function getSubwayStationName(stNm, callback) {
console.log(err);
}
for (let i = 0; i < results.length; i++) {
const tm = yield getGPS(results[0].STIN_NM, results[0].STIN_CD, results[0].LN_CD, results[0].RAIL_OPR_ISTT_CD);
const tm = yield getGPS(results[i].STIN_NM, results[i].STIN_CD, results[i].LN_CD, results[i].RAIL_OPR_ISTT_CD);
nameList.push({
railCd: results[i].RAIL_OPR_ISTT_CD,
lnCd: results[i].LN_CD,
Expand Down
2 changes: 1 addition & 1 deletion BackendTS/routes/subwaydata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function getSubwayStationName(stNm:string, callback:(nameList:Array<SubwayStatio

for (let i = 0; i < results.length; i++) {

const tm:any = await getGPS(results[0].STIN_NM,results[0].STIN_CD,results[0].LN_CD,results[0].RAIL_OPR_ISTT_CD);
const tm:any = await getGPS(results[i].STIN_NM,results[i].STIN_CD,results[i].LN_CD,results[i].RAIL_OPR_ISTT_CD);

nameList.push({
railCd: results[i].RAIL_OPR_ISTT_CD,
Expand Down

0 comments on commit 27882a4

Please sign in to comment.