Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatsarkar056 committed Apr 29, 2024
1 parent f8be271 commit d27305f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function useSemanticText(props: UseSemanticTextProps) {
// @ts-ignore
return !!response[0]?.fully_defined;
} catch (error) {
if (error.statusCode !== 404) {
if (error.body.statusCode !== 404) {
throw error;
}
}
Expand Down

0 comments on commit d27305f

Please sign in to comment.