summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/AppHeader.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-03-18 13:30:08 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-04-05 13:46:33 +0200
commit831dafd4513084c758d3b70587a9b7fecce2c100 (patch)
tree9d0eed5a012cf77cde882f4b97f014a2ac487b48 /opendc-web/opendc-web-ui/src/components/AppHeader.js
parentaf87540d49d58c465f0847c016814d58cfeb44fc (diff)
fix(web/ui): Do not use next/image
This change removes the use of next/image from the project. Although it is recommended by the Next.js project to use this component, it is not compatible currently with static export.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/AppHeader.js')
-rw-r--r--opendc-web/opendc-web-ui/src/components/AppHeader.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/AppHeader.js b/opendc-web/opendc-web-ui/src/components/AppHeader.js
index b33212c4..fd54b3ad 100644
--- a/opendc-web/opendc-web-ui/src/components/AppHeader.js
+++ b/opendc-web/opendc-web-ui/src/components/AppHeader.js
@@ -22,13 +22,13 @@
import { PageHeader } from '@patternfly/react-core'
import React from 'react'
-import Image from 'next/image'
import AppHeaderTools from './AppHeaderTools'
import { AppNavigation } from './AppNavigation'
import AppLogo from './AppLogo'
export function AppHeader() {
- const logo = <Image src="/img/logo.png" layout="fixed" width={30} height={30} alt="OpenDC" />
+ // eslint-disable-next-line @next/next/no-img-element
+ const logo = <img src="/img/logo.png" width={30} height={30} alt="OpenDC" />
return (
<PageHeader