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[]; } }