From fd0e81342f72607811a8ce49f9283fe98417281c Mon Sep 17 00:00:00 2001 From: tka5 <38692574+tka5@users.noreply.github.com> Date: Tue, 21 Mar 2023 00:45:45 +0900 Subject: [PATCH] fix typo (#47235) Co-authored-by: Jan Kaifer --- examples/cms-cosmic/lib/api.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/cms-cosmic/lib/api.tsx b/examples/cms-cosmic/lib/api.tsx index 3bdbe404c8e1..f84f708795fb 100644 --- a/examples/cms-cosmic/lib/api.tsx +++ b/examples/cms-cosmic/lib/api.tsx @@ -40,7 +40,9 @@ export const getAllPostsWithSlug = async () => { return data.objects } -export const getAllPostsForHome = async (preview: boolean): Promise => { +export const getAllPostsForHome = async ( + preview: boolean +): Promise => { const params = { query: { type: 'posts',