From 3bc92ecb7dba244ed7c9070651fdb20ce616af3f Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Mon, 7 Oct 2024 03:16:59 -0400 Subject: [PATCH] allow all image types --- src/components/cardSelector/ImageCardButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/cardSelector/ImageCardButton.tsx b/src/components/cardSelector/ImageCardButton.tsx index 45a5b2d..4958b1b 100644 --- a/src/components/cardSelector/ImageCardButton.tsx +++ b/src/components/cardSelector/ImageCardButton.tsx @@ -8,7 +8,7 @@ export function ImageCardButton() { function _handleClick(mouseEvent: MouseEvent) { const input = document.createElement('input') input.type = 'file' - input.accept = ".png,.jpg,.webp,.jpeg" + input.accept = "image/*" input.multiple = false input.onchange = (e: any) => {