Skip to content

Commit

Permalink
Removed image optimization with "next/image"
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhinpal committed Sep 14, 2021
1 parent 5ec79ef commit 3e6899e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { NextPage } from "next";
import Link from "next/link";
import Image from "next/image";

interface Props {
title?: string;
Expand Down Expand Up @@ -31,7 +30,7 @@ const Header: NextPage<Props> = (props) => {
<h1 className="title">{props.title}</h1>
<Link href={"/"} passHref>
<div className="icon">
<Image
<img
src={`/images/${props.share ? "share" : "plus"}.svg`}
alt="Share | Create"
width="30"
Expand Down

1 comment on commit 3e6899e

@vercel
Copy link

@vercel vercel bot commented on 3e6899e Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.