Fix typo that caused upload to freeze loading spinner