Skip to content

Commit 3014158

Browse files
committed
fix default code lang
1 parent 5dd4fd7 commit 3014158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blocks/Code/src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ registerBlockType(
1414
{
1515
edit: (props) => {
1616
const {attributes, setAttributes, className} = props;
17-
const {content, alignment, language = 'javascript'} = attributes;
17+
const {content, alignment, language} = attributes;
1818

1919
const blockProps = useBlockProps({
2020
className: [className, blockCustomClass],

0 commit comments

Comments
 (0)