update max upload to 20mb

This commit is contained in:
Josh Hawkins 2025-04-10 08:06:05 -05:00
parent 3d2bfa34c8
commit 28a14292f4

View File

@ -25,7 +25,7 @@ type ImageEntryProps = {
export default function ImageEntry({ export default function ImageEntry({
onSave, onSave,
children, children,
maxSize = 10 * 1024 * 1024, // 10MB default maxSize = 20 * 1024 * 1024, // 20MB default
accept = { "image/*": [".jpeg", ".jpg", ".png", ".gif", ".webp"] }, accept = { "image/*": [".jpeg", ".jpg", ".png", ".gif", ".webp"] },
}: ImageEntryProps) { }: ImageEntryProps) {
const { t } = useTranslation(["views/faceLibrary"]); const { t } = useTranslation(["views/faceLibrary"]);