mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(ci): eslint + prettier → biome (#325)
This commit is contained in:
@@ -21,7 +21,6 @@ export function CodeBlock(props: CodeBlockProps): JSX.Element {
|
||||
}, [code, colorScheme]);
|
||||
|
||||
return (
|
||||
// eslint-disable-next-line react-dom/no-dangerously-set-innerhtml
|
||||
<div dangerouslySetInnerHTML={{ __html: output }} className="h-full [&_pre]:rounded-lg [&_pre]:overflow-auto [&_pre]:h-full [&_pre]:w-0 [&_pre]:min-w-full font-mono text-sm *:p-3" />
|
||||
);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ export function useMediaQuery(
|
||||
|
||||
// Handles the change event of the media query.
|
||||
function handleChange() {
|
||||
// eslint-disable-next-line react-hooks-extra/no-direct-set-state-in-use-effect
|
||||
setMatches(getMatches(query));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user