Small fixes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import React from "react";
|
||||
import { ReactSVG } from "react-svg";
|
||||
import Image from "next/image";
|
||||
|
||||
export default function Productpage(props) {
|
||||
@@ -14,7 +13,7 @@ export default function Productpage(props) {
|
||||
>
|
||||
<div className="center-icon">
|
||||
{props.iconurl &&
|
||||
<Image src={props.iconurl} width={300} height={300} alt={props.iconalt} className="products-icon" />
|
||||
<Image src={props.iconurl} width={300} height={300} alt={props.iconalt} className="products-icon" priority/>
|
||||
}
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user