Run prettier for formatting fixes

This commit is contained in:
Fred Boniface
2024-07-12 15:29:55 +01:00
parent 2b8d32f3c9
commit 31b4653ca2
13 changed files with 54 additions and 58 deletions

View File

@@ -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",
},
];

View File

@@ -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 [];
}

View File

@@ -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 />