diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 5d96d6dfd..d09367628 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -152,8 +152,8 @@ function top(): void { scroll(rootEl, { top: 0 }); } -async function chooseList(ev: MouseEvent): Promise { - const lists = await os.api("users/lists/list"); +const lists = await os.api("users/lists/list"); +function chooseList(ev: MouseEvent) { const items = [ { type: "link" as const, @@ -172,8 +172,8 @@ async function chooseList(ev: MouseEvent): Promise { os.popupMenu(items, ev.currentTarget ?? ev.target); } -async function chooseAntenna(ev: MouseEvent): Promise { - const antennas = await os.api("antennas/list"); +const antennas = await os.api("antennas/list"); +function chooseAntenna(ev: MouseEvent) { const items = [ { type: "link" as const,