Develop Threads, Next.js 13 app that skyrocketed to 100 million sign-ups in less than 5 days, and dethroned giants like Twitter, ChatGPT, and TikTok to become the fastest-growing app ever!
This is the error which occurred on line # 64-65 in the AccountProfile.tsx file
Property 'fileUrl' does not exist on type 'ClientUploadedFileData<{ uploadedBy: string; }>'.
The issue is the fileUrl which is not found under clientuploadedfiledata, if you have any solutions please share them otherwise this is how I'm using those lines of code:
if (imgRes && (imgRes[0] as any).fileUrl) {
values.profile_photo = (imgRes[0] as any).fileUrl;
}
This is the error which occurred on line # 64-65 in the AccountProfile.tsx file Property 'fileUrl' does not exist on type 'ClientUploadedFileData<{ uploadedBy: string; }>'.
The issue is the fileUrl which is not found under clientuploadedfiledata, if you have any solutions please share them otherwise this is how I'm using those lines of code: