Skip to content

Commit fbbfbd3

Browse files
committed
fix: change String to string type
1 parent 5cc00d2 commit fbbfbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/user/editProfile/cropImage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Area } from "react-easy-crop";
22

33
export const getCroppedImg = async (
4-
imageSrc: String,
4+
imageSrc: string,
55
croppedAreaPixels: Area
66
):Promise<string> => {
77
const image = await createImage(imageSrc as string);

0 commit comments

Comments
 (0)