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 }) => {
35
35
< div key = { evidence . evidenceIndex } className = "w-full" >
36
36
< h4
37
37
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
52
47
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 "
54
49
}
55
50
>
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
+ }
63
55
>
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 >
78
79
</ div >
79
- </ div >
80
80
) ;
81
81
} ) }
82
82
</ div >
You can’t perform that action at this time.
0 commit comments