Update all instances of next/image to use legacy component

This commit is contained in:
Rory Healy 2023-10-26 19:23:14 +11:00
parent ecdf44c45e
commit 1fa790e080
Signed by: roryhealy
GPG Key ID: 0A3CBDE9C2AE672F
5 changed files with 5 additions and 5 deletions

View File

@ -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';

View File

@ -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';

View File

@ -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

View File

@ -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';

View File

@ -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';