Skip to content

Commit

Permalink
Update templatedoc.js with correct reference (#6495)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenPG authored Apr 29, 2024
1 parent c0c6217 commit 6c543ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/doc/fileupload/templatedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default function TemplateDemo() {
const [totalSize, setTotalSize] = useState(0);
const fileUploadRef = useRef<FileUpload>(null);
const onTemplateSelect = (e: FileUploadUploadEvent) => {
const onTemplateSelect = (e: FileUploadSelectEvent) => {
let _totalSize = totalSize;
let files = e.files;
Expand Down

0 comments on commit 6c543ee

Please sign in to comment.