Skip to content

Commit

Permalink
Update apps/www/src/registry/default/plate-ui/code-block-format-butto…
Browse files Browse the repository at this point in the history
…n.tsx

Co-authored-by: Ziad Beyens <[email protected]>
  • Loading branch information
patrick-hertling and zbeyens authored Feb 1, 2025
1 parent 6487012 commit 1bbc720
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Button } from './button';

export function CodeBlockFormatButton({ element }: { element: TElement }) {

if (!isSupported) {
if (!isLangSupported(element.lang)) {
return null;
}

Expand Down

0 comments on commit 1bbc720

Please sign in to comment.