fix jsvalue

This commit is contained in:
Jonathan Kelley committed 2025-11-24 17:04:44 -08:00
1 parent 488ad0b9c9
commit 1d2dec1101
1 file changed
+1 -1
+1 -1
View File
@@ -135,7 +135,7 @@ impl NativeFileData for WebFileData {
}
fn path(&self) -> std::path::PathBuf {
let key = JsValue::from_str("webkitRelativePath");
let key = wasm_bindgen::JsValue::from_str("webkitRelativePath");
if let Ok(value) = js_sys::Reflect::get(&self.file, &key) {
if let Some(path_str) = value.as_string() {