chore: format JSX components

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2026-02-03 12:44:42 -05:00
commit ddff5db14a
6 changed files with 17 additions and 11 deletions

View file

@ -28,9 +28,7 @@ export const MultiLineTextField = memo(
component="span"
{...sanitizeFieldRestProps(rest)}
>
{lines.length === 0 && emptyText
? emptyText
: lines}
{lines.length === 0 && emptyText ? emptyText : lines}
</Typography>
)
},

View file

@ -1,9 +1,7 @@
import DOMPurify from 'dompurify'
import { Fragment, useMemo } from 'react'
export const SafeHTML = ({
children,
}) => {
export const SafeHTML = ({ children }) => {
const purified = useMemo(() => {
const purify = DOMPurify()