Change image to next/future/image
This commit is contained in:
parent
abf2a52e37
commit
5b4db611df
@ -1,4 +1,4 @@
|
|||||||
import Image from "next/image";
|
import Image from "next/future/image";
|
||||||
|
|
||||||
import styles from "../styles/avatar.module.css";
|
import styles from "../styles/avatar.module.css";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { Image } from "@nextui-org/react";
|
import Image from "next/future/image";
|
||||||
import { Component } from "react";
|
import { Component } from "react";
|
||||||
|
|
||||||
import styles from "../styles/songInfo.module.css";
|
import styles from "../styles/songInfo.module.css";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import { Container, Grid, Image, Link, Text } from "@nextui-org/react";
|
import { Container, Grid, Link, Text } from "@nextui-org/react";
|
||||||
|
import { Image } from "next/future/image";
|
||||||
import { Component } from "react";
|
import { Component } from "react";
|
||||||
|
|
||||||
export default class Home extends Component {
|
export default class Home extends Component {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import env from "@beam-australia/react-env";
|
import env from "@beam-australia/react-env";
|
||||||
import { CssBaseline, Image } from "@nextui-org/react";
|
import { CssBaseline } from "@nextui-org/react";
|
||||||
import Document, { Head, Html, Main, NextScript } from "next/document";
|
import Document, { Head, Html, Main, NextScript } from "next/document";
|
||||||
|
import { Image } from 'next/future/image';
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { VARS } from "../consts/EnvVars";
|
import { VARS } from "../consts/EnvVars";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user