chore: Fix extra comma
This commit is contained in:
parent
5899e890f9
commit
b80409dddf
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export const Highlight = (props) => {
|
|||
if (props.children?.props?.className) {
|
||||
language = props.children.props.className.split('-').pop()
|
||||
if (language.indexOf('.') !== -1) {
|
||||
;[status, language] = language.split('.')
|
||||
[status, language] = language.split('.')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue