fixes
This commit is contained in:
@@ -33,7 +33,6 @@ type Props = {
|
||||
const MAX_SIZE = 5 * 1024 * 1024;
|
||||
const DEFAULT_ACCEPT = "image/jpeg,image/png,image/webp";
|
||||
const EDITOR_WRAPPER_CLASS = "flex flex-col gap-2 items-stretch md:items-start";
|
||||
const EDITOR_IMG_CLASS = "block max-w-full md:max-w-200 h-auto rounded-md border object-contain";
|
||||
|
||||
function formatFileSize(bytes: number): string {
|
||||
return bytes < 1024 * 1024
|
||||
|
||||
Reference in New Issue
Block a user