AntiPattern
run_in_executor Argument Order
run-in-executor-arg-order-misuse
The Redux store saves fileReducer under the state key fileUpload, but the component’s selector is reading from state.file (which is undefined). | After dispatching pushFile to add file metadata to the Redux store, the Files component cannot access the files array via useSelector. | Update the selector to read from the correct key, e.g. useSelector((state) => state.fileUpload.files), or change the store reducer key to match the selector.