diff --git a/packages/round-manager/src/features/program/ViewProgramPage.tsx b/packages/round-manager/src/features/program/ViewProgramPage.tsx index cb2efe7a1c..a4de08308f 100644 --- a/packages/round-manager/src/features/program/ViewProgramPage.tsx +++ b/packages/round-manager/src/features/program/ViewProgramPage.tsx @@ -53,8 +53,8 @@ export default function ViewProgram() { const [programExists, setProgramExists] = useState(true); const [hasAccess, setHasAccess] = useState(true); const [grantType, setGrantType] = useState< - "quadraticFunding" | "directGrant" | undefined - >(); + "quadraticFunding" | "directGrant" | null + >(null); const debugModeEnabled = useDebugMode(); useEffect(() => { @@ -259,15 +259,9 @@ export default function ViewProgram() { onClick={() => setGrantType("quadraticFunding")} className={`flex w-full mb-4 rounded border ${ grantType === "quadraticFunding" - ? "border-violet-400" + ? "border-violet-400 shadow-lg" : "border-grey-100" } bg-white p-6 cursor-pointer`} - style={{ - boxShadow: - grantType === "quadraticFunding" - ? " 0px 10px 15px -3px #0000001A" - : "none", - }} >
setGrantType("directGrant")} className={`flex w-full rounded border ${ grantType === "directGrant" - ? "border-violet-400" + ? "border-violet-400 shadow-lg" : "border-grey-100" } bg-white p-6 cursor-pointer`} - style={{ - boxShadow: - grantType === "directGrant" - ? " 0px 10px 15px -3px #0000001A" - : "none", - }} >
+ />

Direct Grants