Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zestlee1106 committed Nov 29, 2023
2 parents a030375 + a64ce45 commit 4004b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/userInfo/editProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ export default function EditProfile({ _imageSrc, userInfo }: ProfileProps) {
callbackImageFn={(imageList: ImageListType) => {
if (imageList && imageList[0] && imageList[0].dataURL) {
setImageSrc(imageList[0].dataURL);
const image = imageList[0];
const image = imageList[0].file;
const file = {
lastModified: image?.lastModified,
lastModifiedDate: image?.lastModifiedDate,
lastModifiedDate: new Date(image?.lastModified || ''),
size: image?.size,
type: image?.type,
webkitRelativePath: image?.webkitRelativePath,
Expand Down

0 comments on commit 4004b6b

Please sign in to comment.