diff --git a/apps/web/components/Forms/PoolForm.tsx b/apps/web/components/Forms/PoolForm.tsx index 434e8827f..32944ad19 100644 --- a/apps/web/components/Forms/PoolForm.tsx +++ b/apps/web/components/Forms/PoolForm.tsx @@ -927,7 +927,6 @@ export function PoolForm({ token, communityAddr }: Props) { tooltip="% of Pool's voting weight needed to pass the smallest funding proposal possible. Higher funding requests demand greater conviction to pass." label="Minimum conviction" register={register} - required errors={errors} registerKey="minimumConviction" type="number" @@ -936,17 +935,12 @@ export function PoolForm({ token, communityAddr }: Props) { className="pr-14" otherProps={{ step: 1 / CV_SCALE_PRECISION, - min: 1 / CV_SCALE_PRECISION, }} registerOptions={{ max: { value: 99.9, message: "Minimum conviction should be under 100%", }, - min: { - value: 1 / CV_SCALE_PRECISION, - message: "Minimum conviction must be greater than 0", - }, }} suffix="%" /> diff --git a/apps/web/components/ProposalCard.tsx b/apps/web/components/ProposalCard.tsx index fc1b6ffa6..baa278b9b 100644 --- a/apps/web/components/ProposalCard.tsx +++ b/apps/web/components/ProposalCard.tsx @@ -205,33 +205,28 @@ export function ProposalCard({
{isAllocationView ? -
+
-
-
- { - inputHandler( - proposalData.id, - BigInt(Math.floor(Number(e.target.value))), - ); - }} - disabled={isProposalEnded} - /> -
+
+ { + inputHandler( + proposalData.id, + BigInt(Math.floor(Number(e.target.value))), + ); + }} + disabled={isProposalEnded} + /> +
{[...Array(21)].map((_, i) => ( // eslint-disable-next-line react/no-array-index-key diff --git a/apps/web/components/Proposals.tsx b/apps/web/components/Proposals.tsx index 56febcea7..4d57995db 100644 --- a/apps/web/components/Proposals.tsx +++ b/apps/web/components/Proposals.tsx @@ -246,7 +246,7 @@ export function Proposals({ const disableManageSupportBtnCondition: ConditionObject[] = [ { condition: !memberActivatedStrategy, - message: "Must have points activated to support proposals", + message: "You need to activate your governance first", }, { condition: !isAllowed, @@ -446,6 +446,7 @@ export function Proposals({ const isEndedProposalActiveAllocation = endedProposals.some( (x) => stakedFilters[x.id]?.value, ); + // Render return ( <> @@ -472,7 +473,12 @@ export function Proposals({ } onClick={() => setAllocationView((prev) => !prev)} - disabled={disableManSupportButton || !isAllowed} + disabled={ + !isConnected || + missmatchUrl || + !memberActivatedStrategy || + !isAllowed + } tooltip={tooltipMessage} > Manage support @@ -582,13 +588,7 @@ export function Proposals({ diff --git a/apps/web/configs/chains.tsx b/apps/web/configs/chains.tsx index 542385a89..9b043ec91 100644 --- a/apps/web/configs/chains.tsx +++ b/apps/web/configs/chains.tsx @@ -154,7 +154,7 @@ export const chainConfigMap: { arbitrator: "0x10B469b23a47BC557daB81743af8A97Ef9e9f833", passportScorer: "0x8cd4bA4ad10d85A550fe45d567a49E49e1D23CE1", isTestnet: false, - safePrefix: "arb", + safePrefix: "arb1", }, 10: { name: optimism.name, @@ -173,7 +173,7 @@ export const chainConfigMap: { arbitrator: "0x01b415E97310611EF5fea5c0b43470F6217456aA", passportScorer: "0x084a5504dCFeac0ec3E10517247639e50c8DcFFd", isTestnet: false, - safePrefix: "opt", + safePrefix: "oeth", }, 137: { name: polygon.name,