Skip to content

Commit

Permalink
Fix next/image legacy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Nov 4, 2024
1 parent a7792d8 commit 8d5cc62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Icon({ item, handleIconClick, currentItemIndex, index }) {
>
<Image
src={index === currentItemIndex ? secondaryIcon : primaryIcon}
layout="fill"
fill
/>
</Box>
<Typography
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { RichText } from "@commons-ui/payload";
import { Grid, Typography, IconButton, Avatar } from "@mui/material";
import { useTour } from "@reactour/tour";
import Image from "next/image";
import Image from "next/legacy/image";
import PropTypes from "prop-types";
import React from "react";

Expand Down

0 comments on commit 8d5cc62

Please sign in to comment.