Skip to content

Commit

Permalink
hotfix: fixed useEffect not defined problem
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel2231 committed May 24, 2024
1 parent 1b8572f commit 01f5629
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/clubManagement/account-profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from '@mui/material';
import styled from '@emotion/styled';
import Image from 'next/image';
import { useRef, useState } from 'react';
import { useRef, useState, useEffect } from 'react';
import axiosInterceptorInstance from '../../../axios/axiosInterceptorInstance';
import imageCompression from 'browser-image-compression';

Expand Down Expand Up @@ -83,12 +83,7 @@ export const AccountProfile = ({ url, clubId }) => {
return (
<Card>
<ProfileCardContent>
<Image
src={imageUrl}
alt="club image"
width={220}
height={220}
/>
<Image src={imageUrl} alt="club image" width={220} height={220} />
</ProfileCardContent>
<Divider />

Expand Down

0 comments on commit 01f5629

Please sign in to comment.