fix(governance): markdown link styling, referral details type error, contracts provider error (#5460)
This commit is contained in:
parent
fef13874db
commit
8958c12fe3
@ -49,12 +49,8 @@ export const ContractsProvider = ({ children }: { children: JSX.Element }) => {
|
|||||||
? activeProvider
|
? activeProvider
|
||||||
: defaultProvider;
|
: defaultProvider;
|
||||||
|
|
||||||
if (
|
if (account && provider && typeof provider.getSigner === 'function') {
|
||||||
account &&
|
signer = provider.getSigner(account);
|
||||||
activeProvider &&
|
|
||||||
typeof activeProvider.getSigner === 'function'
|
|
||||||
) {
|
|
||||||
signer = provider.getSigner();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const tokenVestingAddress =
|
const tokenVestingAddress =
|
||||||
|
@ -54,8 +54,8 @@ export const ProposalReferralProgramDetails = ({
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
const benefitTiers = proposal?.terms?.change?.benefitTiers;
|
const benefitTiers = proposal?.terms?.change?.benefitTiers.slice();
|
||||||
const stakingTiers = proposal?.terms?.change?.stakingTiers;
|
const stakingTiers = proposal?.terms?.change?.stakingTiers.slice();
|
||||||
const windowLength = proposal?.terms?.change?.windowLength;
|
const windowLength = proposal?.terms?.change?.windowLength;
|
||||||
const endOfProgramTimestamp = proposal?.terms?.change?.endOfProgram;
|
const endOfProgramTimestamp = proposal?.terms?.change?.endOfProgram;
|
||||||
|
|
||||||
|
@ -104,6 +104,10 @@
|
|||||||
list-style: circle;
|
list-style: circle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.react-markdown-container a {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.jsondiffpatch-delta,
|
.jsondiffpatch-delta,
|
||||||
.jsondiffpatch-delta pre {
|
.jsondiffpatch-delta pre {
|
||||||
font-family: 'Roboto Mono', monospace !important;
|
font-family: 'Roboto Mono', monospace !important;
|
||||||
|
Loading…
Reference in New Issue
Block a user