From 9b9e17269ed3b05290b35f2bc6f4f42ca128bc87 Mon Sep 17 00:00:00 2001 From: Mustafa Saifee Date: Tue, 9 Apr 2024 17:50:21 +0300 Subject: [PATCH] resolve the image download issue --- index.html | 8 ++++---- src/Priorities/index.tsx | 38 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index 03bbc2e..f196a07 100644 --- a/index.html +++ b/index.html @@ -7,10 +7,10 @@ UNDP Data Platform SDG Accelerator - - - - + + + +
diff --git a/src/Priorities/index.tsx b/src/Priorities/index.tsx index 297d082..239529f 100644 --- a/src/Priorities/index.tsx +++ b/src/Priorities/index.tsx @@ -335,25 +335,25 @@ export const Priorities = (props: Props) => { <>
{ - selectedFileNotAnalyzed.length > 0 - ? ( -
- { - selectedFileNotAnalyzed.map((d: any, i: number) => ( -
- {d.name} - {' '} - ( - {(d.size / 1024 / 1024).toFixed(1)} - {' '} - MBs) - { setSelectedFileNotAnalyzed(selectedFileNotAnalyzed.filter((el: any) => d !== el)); }} /> -
- )) - } -
- ) : null - } + selectedFileNotAnalyzed.length > 0 + ? ( +
+ { + selectedFileNotAnalyzed.map((d: any, i: number) => ( +
+ {d.name} + {' '} + ( + {(d.size / 1024 / 1024).toFixed(1)} + {' '} + MBs) + { setSelectedFileNotAnalyzed(selectedFileNotAnalyzed.filter((el: any) => d !== el)); }} /> +
+ )) + } +
+ ) : null + }