From ef7834ac386c76e6be360853ac81462842e85049 Mon Sep 17 00:00:00 2001 From: guitavano Date: Fri, 2 Feb 2024 09:33:15 -0300 Subject: [PATCH] fmt --- islands/ShowMore.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/islands/ShowMore.tsx b/islands/ShowMore.tsx index 1301908e..01d8b7e6 100644 --- a/islands/ShowMore.tsx +++ b/islands/ShowMore.tsx @@ -23,16 +23,17 @@ export default function ShowMore({ pageInfo, layout, platform }: Props) { const handleLoadMore = async () => { loading.value = true; - if(!pageInfo.showMore) return; + if (!pageInfo.showMore) return; // Figure out a better way to type this loader // deno-lint-ignore no-explicit-any const invokePayload: any = { - key: pageInfo.showMore, - props: { - count: pageInfo.recordPerPage || 12, - nextPage: window.location.origin + window.location.pathname + nextPage.value, - }, - }; + key: pageInfo.showMore, + props: { + count: pageInfo.recordPerPage || 12, + nextPage: window.location.origin + window.location.pathname + + nextPage.value, + }, + }; const page = await invoke(invokePayload) as ProductListingPage | null; loading.value = false; console.log(page);