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({
|
||||
useOptions(query, _integrationIds, options) {
|
||||
const { data: stations, isPending } = clientApi.widget.timetable.searchStations.useQuery(
|
||||
{
|
||||
baseUrl: typeof options.baseUrl === "string" ? options.baseUrl : "https://search.ch",
|
||||
query,
|
||||
},
|
||||
);
|
||||
const { data: stations, isPending } = clientApi.widget.timetable.searchStations.useQuery({
|
||||
baseUrl: typeof options.baseUrl === "string" ? options.baseUrl : "https://search.ch",
|
||||
query,
|
||||
});
|
||||
|
||||
return {
|
||||
isPending,
|
||||
|
||||
Reference in new issue
Block a user