wrap promise response in set timeout to keep local state in sync (#2531)

This commit is contained in:
André Rusakow
2022-12-29 22:19:23 +01:00
committed by GitHub
parent e7066f02ec
commit 15533d3d8a
2 changed files with 1 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
import { RcFile } from 'antd/lib/upload';
export const MAX_IMAGE_FILESIZE = 2097152;
export const ACCEPTED_IMAGE_TYPES = ['image/png', 'image/jpeg', 'image/gif'];