PR feedback

This commit is contained in:
Dean 2025-01-02 17:43:32 +00:00
parent b15399ab81
commit 2eaf2954c1
1 changed files with 3 additions and 3 deletions

View File

@ -14,6 +14,8 @@
export let validation export let validation
export let onChange export let onChange
const context = getContext("context")
let fieldState let fieldState
let fieldApi let fieldApi
let localFiles = [] let localFiles = []
@ -83,9 +85,7 @@
} }
const upload = async () => { const upload = async () => {
const processedFileKey = processStringSync(key, { const processedFileKey = processStringSync(key, $context)
[$component.id]: fieldState,
})
loading = true loading = true
try { try {
const res = await API.externalUpload( const res = await API.externalUpload(