Skip to content

Commit

Permalink
fix: apply next/image codemod
Browse files Browse the repository at this point in the history
  • Loading branch information
bamdadfr committed Jul 11, 2024
1 parent 1371ea1 commit 089e3db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/form/form.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {ReactElement} from 'react';
import Image from 'next/image';
import Image from "next/legacy/image";
import {Form, GoogleContainer, ImageContainer, Input, Submit} from './form.component.styles';
import {useFormComponent} from './hooks/use-form-component';

Expand Down
2 changes: 1 addition & 1 deletion src/components/loading/loading.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {ReactElement} from 'react';
import Image from 'next/image';
import Image from "next/legacy/image";
import {
Container,
ImageContainer,
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/components/cell/cell.component.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, {ReactElement} from 'react';
import {Icon, IconifyIcon} from '@iconify/react';
import Image from 'next/image';
import Image from "next/legacy/image";
import {Button, Item} from '../../table.component.styles';

export interface CellComponentProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {ReactElement} from 'react';
import Image from 'next/image';
import Image from "next/legacy/image";
import {useAtom} from 'jotai';
import useMeasure from 'react-use-measure';
import {ResizeObserver} from '@juggle/resize-observer';
Expand Down

0 comments on commit 089e3db

Please sign in to comment.