Run prettier for formatting fixes
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
formAction: "/ldb",
|
||||
placeholder: "enter crs/tiploc",
|
||||
maxLen: 7,
|
||||
fieldName: "station"
|
||||
fieldName: "station",
|
||||
},
|
||||
{
|
||||
title: "Timetable & PIS",
|
||||
@@ -24,7 +24,7 @@
|
||||
formAction: "/train",
|
||||
placeholder: "enter headcode",
|
||||
maxLen: 4,
|
||||
fieldName: "headcode"
|
||||
fieldName: "headcode",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
helpText: "",
|
||||
onRefresh: () => {},
|
||||
refreshing: false,
|
||||
}
|
||||
};
|
||||
|
||||
function load() {
|
||||
isLoading = true;
|
||||
@@ -41,8 +41,8 @@
|
||||
async function getData() {
|
||||
if (inputValue) {
|
||||
const apiPath = `/api/v2/ref/reasonCode/${inputValue}`;
|
||||
const res = await apiGet(apiPath)
|
||||
return res
|
||||
const res = await apiGet(apiPath);
|
||||
return res;
|
||||
} else {
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -29,8 +29,9 @@
|
||||
console.log("Refresh");
|
||||
}
|
||||
</script>
|
||||
|
||||
<Header title={"Test"} />
|
||||
<TimeBar updatedTime={new Date} />
|
||||
<TimeBar updatedTime={new Date()} />
|
||||
<LookupCard config={LookupConfig} />
|
||||
<LookupCard config={TimetableConfig} />
|
||||
<NearToMeCard />
|
||||
|
||||
Reference in New Issue
Block a user