mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
fix eslint warnings
This commit is contained in:
@@ -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 }}
|
||||
/>
|
||||
));
|
||||
|
||||
@@ -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>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user