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 64c86b1 commit 6487012
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import { BracesIcon } from 'lucide-react';
import { Button } from './button';

export function CodeBlockFormatButton({ element }: { element: TElement }) {
const { format, isSupported, validSyntax } = useCodeBlockFormat({
element,
});

if (!isSupported) {
return null;
Expand Down

0 comments on commit 6487012

Please sign in to comment.