[M4] Demo: uploading state is never set to true #25
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
indigocode/igasset-viewer-react#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File:
demo/src/FilestoreOpsPanel.tsx:17-44handleFileChangecallssetUploading(false)in itsfinallyblock but never callssetUploading(true)at the start.Impact: the "Uploading…" indicator (line 210-212) and the
disabledstate on the file input (line 197) are dead code — they never show.Fix:
setUploading(true)at the top of the handler (before theawait file.arrayBuffer()).Filed by an automated AI code review (manual proof-of-concept run). Code locations reference the
various-cleanupbranch.