Skip to content

Commit

Permalink
addressed lint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
g-marcin committed Jun 26, 2023
1 parent bd71fc7 commit 8d6255c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useBeerDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const useBeerDetails = (id: string | undefined) => {
if (response.data) {
setBeerDetails(beerDetailsMapper(response.data));
} else {
throw new Error('no details data recieved');
throw new Error('no details data received');
}
})
.then(() => setIsLoading(false))
Expand Down

0 comments on commit 8d6255c

Please sign in to comment.