Issue title: TypeError: Cannot read properties of undefined (reading 'name')
 Issue body: I am getting this error, please help me
![Screenshot (21)](https://user-images.githubusercontent.com/105579118/178443551-7a8f6c93-c673-4f0f-84e9-dfee44938c82.png)

 Comments: 
 Comment 0: - Hi, seems I did go too fast to upload image, now I have a desktop crash

![Capture d’écran 2022-07-22 à 16 26 34](https://user-images.githubusercontent.com/52153950/180470123-cf822c26-b0f9-44fe-b687-d6a447722ef8.png)

 Comment 1: Thanks for reporting! This should be fixed in [v2.30.3](https://github.com/sanity-io/sanity/releases/tag/v2.30.3)!
{'source': 'GithubIssues', 'repo_name_with_owner': 'sanity-io/sanity', 'issue_id': 1301710041, 'repo_stars': 3789.0}