fix publish page

This commit is contained in:
Sean Yesmunt 2020-05-26 11:48:07 -04:00
parent 6eb3c47417
commit 3a5549c2dc

View file

@ -181,7 +181,7 @@ function PublishFile(props: Props) {
setOversized(false);
// select file, start to select a new one, then cancel
if (!file) {
if (!file || !file.type) {
updatePublishForm({ filePath: '', name: '' });
return;
}