Skip to content

Commit

Permalink
Simplify error apostrophe
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbouchenoire committed Nov 23, 2021
1 parent 31fc347 commit a9508f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/measure-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function measureText(
return context.measureText(normalizedText)
} else {
throw new Error(
"The current environment doesnt seem to support the Canvas API."
"The current environment doesn't seem to support the Canvas API."
)
}
}

0 comments on commit a9508f2

Please sign in to comment.