I forgot to wrap the state changing in a setState. Oops.
Attach a file by drag & drop or click to upload