+
+
+
+ {isClearing ? t('Clearing...') : t('Clear uploaded files?')}
+
+
+
+ {
+ e.stopPropagation();
+ if (!isClearing) {
+ void handleClearUploadedDocuments();
+ }
+ }}
+ />
+
+ {
+ e.stopPropagation();
+ if (!isClearing) {
+ setIsConfirming(false);
+ }
+ }}
+ />
+
+
+ ) : (
+