mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-13 11:20:12 +02:00
Fix Vite Plus lint issues
This commit is contained in:
@@ -274,7 +274,9 @@ function Sidebar({ className }: { className?: string }) {
|
||||
|
||||
const handleSendSelected = useCallback(async (items: SidebarModel[]) => {
|
||||
await Promise.all(
|
||||
items.filter((i) => i.model === "http_request").map((i) => sendAnyHttpRequest.mutate(i.id)),
|
||||
items
|
||||
.filter((i) => i.model === "http_request")
|
||||
.map((i) => sendAnyHttpRequest.mutateAsync(i.id)),
|
||||
);
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user