chore: ran linting

This commit is contained in:
Anish Sarkar 2026-05-19 21:02:07 +05:30
parent f1b3c88354
commit d66295aedd
48 changed files with 372 additions and 443 deletions

View file

@ -60,10 +60,7 @@ export function CalloutElement({ children, ...props }: PlateElementProps<TCallou
}, [editor, variant, props.path]);
return (
<PlateElement
{...props}
className={cn(calloutVariants({ variant }), props.className)}
>
<PlateElement {...props} className={cn(calloutVariants({ variant }), props.className)}>
<Button
variant="ghost"
className="mt-0.5 h-auto shrink-0 cursor-pointer select-none p-0 text-lg leading-none hover:bg-transparent"

View file

@ -84,12 +84,7 @@ export function EquationElement({ children, ...props }: PlateElementProps<TEquat
>
Cancel
</Button>
<Button
size="sm"
className="h-auto px-2 py-1 text-xs"
onClick={onSubmit}
type="button"
>
<Button size="sm" className="h-auto px-2 py-1 text-xs" onClick={onSubmit} type="button">
Done
</Button>
</div>