Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Hernandez committed Apr 20, 2024
1 parent 1b69364 commit 31fc823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queries/stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function fetchStory(storyId: number): Promise<Story[]> {
`An error occured when trying to fetch story ${storyId}: ${error.code}`,
);
} else {
return data;
return data as Story[];
}
}

Expand Down

0 comments on commit 31fc823

Please sign in to comment.