File tree Expand file tree Collapse file tree 1 file changed +37
-37
lines changed
src/app/[locale]/case/[disputeId]/components Expand file tree Collapse file tree 1 file changed +37
-37
lines changed Original file line number Diff line number Diff line change @@ -35,48 +35,48 @@ const Evidence: React.FC<IEvidence> = async ({ evidenceGroupId }) => {
3535 < div key = { evidence . evidenceIndex } className = "w-full" >
3636 < h4
3737 className = "text-base md:text-md text-primary-text font-semibold"
38- dir = "auto"
39- >
40- #{ i + 1 } { evidence . name }
41- </ h4 >
42- < Separator className = "bg-stroke my-1" />
43- < p className = "text-primary-text text-base pl-2" dir = "auto" >
44- { evidence . description }
45- </ p >
46- < div
47- className = {
48- "mt-1 bg-stroke flex justify-between items-center px-2 py-1"
49- }
50- >
51- < span
38+ dir = "auto"
39+ >
40+ #{ i + 1 } { evidence . name }
41+ </ h4 >
42+ < Separator className = "bg-stroke my-1" />
43+ < p className = "text-primary-text text-base pl-2" dir = "auto" >
44+ { evidence . description }
45+ </ p >
46+ < div
5247 className = {
53- "text-xs md:text-base align-middle text-secondary-text "
48+ "mt-1 bg-stroke flex justify-between items-center px-2 py-1 "
5449 }
5550 >
56- { t ( "from" , { user : shortenAddress ( evidence . sender . id ) } ) }
57- </ span >
58- { isIpfsPath && (
59- < Link
60- href = { ipfsUrl ( evidence . fileURI ) }
61- target = "_blank"
62- rel = "noopener noreferrer"
51+ < span
52+ className = {
53+ "text-xs md:text-base align-middle text-secondary-text"
54+ }
6355 >
64- < div className = "flex gap-2 items-center" >
65- < Image
66- src = "/attachment.svg"
67- alt = "attachment"
68- width = "24"
69- height = "24"
70- className = "inline w-4"
71- />
72- < span className = "text-base text-primary-blue" >
73- { t ( "attachment" ) }
74- </ span >
75- </ div >
76- </ Link >
77- ) }
56+ { t ( "from" , { user : shortenAddress ( evidence . sender . id ) } ) }
57+ </ span >
58+ { isIpfsPath && (
59+ < Link
60+ href = { ipfsUrl ( evidence . fileURI ) }
61+ target = "_blank"
62+ rel = "noopener noreferrer"
63+ >
64+ < div className = "flex gap-2 items-center" >
65+ < Image
66+ src = "/attachment.svg"
67+ alt = "attachment"
68+ width = "24"
69+ height = "24"
70+ className = "inline w-4"
71+ />
72+ < span className = "text-base text-primary-blue" >
73+ { t ( "attachment" ) }
74+ </ span >
75+ </ div >
76+ </ Link >
77+ ) }
78+ </ div >
7879 </ div >
79- </ div >
8080 ) ;
8181 } ) }
8282 </ div >
You can’t perform that action at this time.
0 commit comments