From 31fc8234d0a190328ce3c8c579e323266149422c Mon Sep 17 00:00:00 2001 From: Marcos Hernandez Date: Fri, 19 Apr 2024 23:13:25 -0700 Subject: [PATCH] minor change --- src/queries/stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queries/stories.tsx b/src/queries/stories.tsx index 9b8e833..1a18e68 100644 --- a/src/queries/stories.tsx +++ b/src/queries/stories.tsx @@ -25,7 +25,7 @@ export async function fetchStory(storyId: number): Promise { `An error occured when trying to fetch story ${storyId}: ${error.code}`, ); } else { - return data; + return data as Story[]; } }