Update all instances of next/image to use legacy component
This commit is contained in:
parent
ecdf44c45e
commit
1fa790e080
|
@ -4,7 +4,7 @@ import Col from 'react-bootstrap/Col';
|
|||
import Row from 'react-bootstrap/Row';
|
||||
|
||||
// Next components
|
||||
import Image from 'next/image';
|
||||
import Image from 'next/legacy/image';
|
||||
|
||||
// Firebase
|
||||
import { collection, updateDoc, doc } from 'firebase/firestore';
|
||||
|
|
|
@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
|
|||
import Row from 'react-bootstrap/Row';
|
||||
|
||||
// Next components
|
||||
import Image from 'next/image';
|
||||
import Image from 'next/legacy/image';
|
||||
|
||||
// Styles
|
||||
import styles from '../../styles/WorkoutForms/ExerciseElement.module.css';
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import React from 'react';
|
||||
|
||||
// Next components
|
||||
import Image from 'next/image';
|
||||
import Image from 'next/legacy/image';
|
||||
import { Container, Row, Col } from 'react-bootstrap';
|
||||
|
||||
// Styles
|
||||
|
|
|
@ -9,7 +9,7 @@ import Modal from 'react-bootstrap/Modal';
|
|||
import Button from 'react-bootstrap/Button';
|
||||
|
||||
// Next components
|
||||
import Image from 'next/image';
|
||||
import Image from 'next/legacy/image';
|
||||
|
||||
// Custom components
|
||||
import List from '../../components/List/List';
|
||||
|
|
|
@ -9,7 +9,7 @@ import Modal from 'react-bootstrap/Modal';
|
|||
import Button from 'react-bootstrap/Button';
|
||||
|
||||
// Next components
|
||||
import Image from 'next/image';
|
||||
import Image from 'next/legacy/image';
|
||||
|
||||
// Firebase
|
||||
import { getDocs, collection, query, orderBy, limit } from 'firebase/firestore';
|
||||
|
|
Loading…
Reference in New Issue