style: auto-fix lint and format
This commit is contained in:
1 parent
06da6191cc
commit
0425bec2ca
1 file changed
+4
-6
@@ -16,12 +16,10 @@ export const { componentLoader, definition } = createWidgetDefinition("timetable
|
|||||||
}),
|
}),
|
||||||
station: factory.dynamicSelect({
|
station: factory.dynamicSelect({
|
||||||
useOptions(query, _integrationIds, options) {
|
useOptions(query, _integrationIds, options) {
|
||||||
const { data: stations, isPending } = clientApi.widget.timetable.searchStations.useQuery(
|
const { data: stations, isPending } = clientApi.widget.timetable.searchStations.useQuery({
|
||||||
{
|
baseUrl: typeof options.baseUrl === "string" ? options.baseUrl : "https://search.ch",
|
||||||
baseUrl: typeof options.baseUrl === "string" ? options.baseUrl : "https://search.ch",
|
query,
|
||||||
query,
|
});
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isPending,
|
isPending,
|
||||||
|
|||||||
Reference in new issue
Block a user