fix: Typo in variable name.

This commit is contained in:
Andreas Eismann 2024-11-04 10:44:29 +01:00
parent b70f33d972
commit 81482e31a3
No known key found for this signature in database

View File

@ -285,13 +285,13 @@ class Upload(MemoizationLeaf):
format.to_camel_case(key): value for key, value in upload_props.items()
}
use_dropzone_arguements = {
use_dropzone_arguments = {
"onDrop": event_var,
**upload_props,
}
left_side = f"const {{getRootProps: {root_props_unique_name}, getInputProps: {input_props_unique_name}}} "
right_side = f"useDropzone({str(Var.create(use_dropzone_arguements))})"
right_side = f"useDropzone({str(Var.create(use_dropzone_arguments))})"
var_data = VarData.merge(
VarData(