fix eslint warnings

This commit is contained in:
Enrico Ros
2025-11-20 17:00:50 -08:00
parent 9fea1d5c64
commit d6b3a5259d
3 changed files with 0 additions and 3 deletions
-1
View File
@@ -111,7 +111,6 @@ MyDocument.getInitialProps = async (ctx: DocumentContext) => {
<style
data-emotion={`${style.key} ${style.ids.join(' ')}`}
key={style.key}
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: style.css }}
/>
));
-1
View File
@@ -103,7 +103,6 @@ export function maybeDebuggerBreak(): void {
const isBreakEnabled = process.env.NEXT_PUBLIC_DEBUG_BREAKS === 'true';
if (Release.IsNodeDevBuild && isBreakEnabled) {
// eslint-disable-next-line no-debugger
debugger; // This line will be hit only if DevTools are open.
// Build tools often remove debugger statements in production.
}
@@ -173,7 +173,6 @@ export const RenderImageURL = (props: {
{/* Image / Loading Indicator */}
{props.imageURL ? (
<picture>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={props.imageURL} alt={props.expandableText ? `Generated Image: ${props.expandableText}` : 'Generated Image'} />
</picture>
) : (