@@ -26,7 +26,7 @@ import { ReactComponent as CartCircleIcon } from "../../assets/icons/cart-circle
26
26
import { ReactComponent as CheckedCircleIcon } from "../../assets/icons/checked-circle.svg" ;
27
27
import { ProjectBanner } from "../common/ProjectBanner" ;
28
28
import Breadcrumb , { BreadcrumbItem } from "../common/Breadcrumb" ;
29
- import { Box , Button , Skeleton , SkeletonText , Tab , Tabs } from "@chakra-ui/react" ;
29
+ import { Box , Skeleton , SkeletonText , Tab , Tabs } from "@chakra-ui/react" ;
30
30
import {
31
31
ProjectApplicationWithRoundAndProgram ,
32
32
useDataLayer ,
@@ -254,13 +254,11 @@ export default function ViewProject() {
254
254
</ div >
255
255
< div className = "md:flex gap-4 flex-row-reverse" >
256
256
< div className = "mb-4" >
257
- < Sidebar
258
- projectApplications = { projectApplications }
259
- />
257
+ < Sidebar projectApplications = { projectApplications } />
260
258
< button
261
259
type = "button"
262
260
data-testid = "direct-allocation-button"
263
- className = "w-full block my-0 mx-1 bg-gitcoin-violet-100 py-2 text-center text-sm font-semibold leading-6 text-gitcoin-violet-400 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
261
+ className = "w-full block my-0 mx-1 bg-gitcoin-violet-100 py-2 text-center text-sm font-semibold rounded-lg leading-6 text-gitcoin-violet-400 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
264
262
onClick = { ( ) => setShowDirectAllocationModal ( true ) }
265
263
>
266
264
< BoltIcon className = "w-4 h-4 inline-block mr-1 mb-1" />
@@ -331,9 +329,8 @@ export default function ViewProject() {
331
329
{ projectData ?. project ?. metadata . title }
332
330
</ p >
333
331
</ div >
334
- </ div >
332
+ </ div >
335
333
< div className = "flex sm:space-x-4 space-x-2 h-16 sm:pl-4 pt-3 justify-center" >
336
-
337
334
< p className = "mt-4 md:mt-3 text-xs md:text-sm amount-text font-medium" >
338
335
Amount
339
336
</ p >
@@ -616,9 +613,7 @@ function Sidebar(props: {
616
613
return (
617
614
< div className = "flex flex-col" >
618
615
< div className = "min-w-[320px] h-fit mb-6 rounded-3xl bg-gray-50" >
619
- < ProjectStats
620
- projectApplications = { props . projectApplications }
621
- />
616
+ < ProjectStats projectApplications = { props . projectApplications } />
622
617
</ div >
623
618
{ activeQFRoundApplications && activeQFRoundApplications ?. length > 0 && (
624
619
< h4 className = "text-xl font-medium" > Active rounds</ h4 >
0 commit comments