Skip to content

Commit

Permalink
Suppress some warning
Browse files Browse the repository at this point in the history
  • Loading branch information
balegas committed Oct 3, 2024
1 parent 2d933e8 commit 4a48ea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions examples/nextjs-ssr-example/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ module.exports = {
caughtErrorsIgnorePattern: `^_`,
},
],
"@next/next/no-img-element": `off`,

},
ignorePatterns: [
`**/node_modules/**`,
Expand Down
3 changes: 1 addition & 2 deletions examples/nextjs-ssr-example/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import "./style.css"
import "./App.css"
import Image from "next/image"

export const metadata = {
title: `Next.js Forms Example`,
Expand All @@ -17,7 +16,7 @@ export default function RootLayout({
<body>
<div className="App">
<header className="App-header">
<Image src="/logo.svg" className="App-logo" alt="logo" />
<img src="/logo.svg" className="App-logo" alt="logo" />
{children}
</header>
</div>
Expand Down

0 comments on commit 4a48ea6

Please sign in to comment.