Skip to content

Commit

Permalink
[docs] Fix typo
Browse files Browse the repository at this point in the history
ref: #18069
  • Loading branch information
mtsmfm committed Oct 29, 2019
1 parent e693f95 commit 98aa341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/modules/components/MarkdownElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ const markedOptions = {

if (!prismLanguage) {
if (process.env.NODE_ENV === 'production') {
console.error(`unsuppored language: "${language}", "${code}"`);
console.error(`unsupported language: "${language}", "${code}"`);
} else {
throw new Error(`unsuppored language: "${language}", "${code}"`);
throw new Error(`unsupported language: "${language}", "${code}"`);
}
}

Expand Down

0 comments on commit 98aa341

Please sign in to comment.