Skip to content

Commit

Permalink
Merge pull request #5329 from Hacker0x01/hljs
Browse files Browse the repository at this point in the history
Fix deprecation warning hljs
  • Loading branch information
martijnrusschen authored Jan 21, 2025
2 parents 009b4fc + 06c2f1e commit 7080adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-site/src/components/Examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ import "react-datepicker/dist/react-datepicker.css";

export default class exampleComponents extends React.Component {
componentDidMount() {
hljs.initHighlightingOnLoad();
hljs.registerLanguage("javascript", hljsJavaScriptLanguage);
hljs.highlightAll();
}

examples = [
Expand Down

0 comments on commit 7080adf

Please sign in to comment.