Skip to content

Conversation

@farnabaz
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Sep 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
content-studio Ready Ready Preview Comment Sep 26, 2025 2:53pm

@farnabaz farnabaz changed the title WIP fix: init media upload via drag and drop fix: init media upload via drag and drop Sep 26, 2025
@farnabaz farnabaz requested a review from larbish September 26, 2025 13:51
await create(draftItem.modified!)
}
async function fileToDraftItem(directory: string, file: File): Promise<DraftItem<MediaItem>> {
const rawDara = await fileToDataUrl(file)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const rawDara = await fileToDataUrl(file)
const rawData = await fileToDataUrl(file)

@larbish larbish merged commit b8fc257 into main Sep 26, 2025
2 checks passed
@farnabaz farnabaz deleted the fix/media branch September 29, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants