Skip to content

Commit 1d2dec1

Browse files
committed
fix jsvalue
1 parent 488ad0b commit 1d2dec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/files.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl NativeFileData for WebFileData {
135135
}
136136

137137
fn path(&self) -> std::path::PathBuf {
138-
let key = JsValue::from_str("webkitRelativePath");
138+
let key = wasm_bindgen::JsValue::from_str("webkitRelativePath");
139139

140140
if let Ok(value) = js_sys::Reflect::get(&self.file, &key) {
141141
if let Some(path_str) = value.as_string() {

0 commit comments

Comments
 (0)