diff --git a/packages/round-manager/src/features/program/CreateProgramPage.tsx b/packages/round-manager/src/features/program/CreateProgramPage.tsx index 96318d512f..ef961f7db1 100644 --- a/packages/round-manager/src/features/program/CreateProgramPage.tsx +++ b/packages/round-manager/src/features/program/CreateProgramPage.tsx @@ -20,6 +20,7 @@ import { useCreateProgram } from "../../context/program/CreateProgramContext"; import ReactTooltip from "react-tooltip"; import { CHAINS } from "../api/utils"; import { ChainId } from "common/src/chain-ids"; +import { getConfig } from "common/src/config"; type FormData = { name: string; @@ -156,19 +157,23 @@ export default function CreateProgram() { ); } - return ( -
- -
- Creating Allo V2 programs in Manager is not yet supported, as a - temporary solution please head over to   - - Builder - {" "} - to create a project on Allo V2 and come back here. + const config = getConfig(); + + if (config.allo.version === "allo-v2") { + return ( +
+ +
+ Creating Allo V2 programs in Manager is not yet supported, as a + temporary solution please head over to   + + Builder + {" "} + to create a project on Allo V2 and come back here. +
-
- ); + ); + } return (