diff --git a/src/pages/Staking/StakeDetailsPage/index.tsx b/src/pages/Staking/StakeDetailsPage/index.tsx index cdb638b85..77476bb21 100644 --- a/src/pages/Staking/StakeDetailsPage/index.tsx +++ b/src/pages/Staking/StakeDetailsPage/index.tsx @@ -30,6 +30,7 @@ import { useAppDispatch, useAppSelector } from "../../../hooks/store" import { useWeb3React } from "@web3-react/core" import { AddressZero } from "@ethersproject/constants" import { isAddress } from "../../../web3/utils" +import { stakingApplicationsSlice } from "../../../store/staking-applications" const StakeDetailsPage: FC = () => { const { stakingProviderAddress } = useParams() @@ -41,6 +42,10 @@ const StakeDetailsPage: FC = () => { if (!isAddress(stakingProviderAddress!)) navigate(`/staking`) }, [stakingProviderAddress, navigate]) + useEffect(() => { + dispatch(stakingApplicationsSlice.actions.getSupportedApps({})) + }, [dispatch]) + useEffect(() => { dispatch( requestStakeByStakingProvider({ stakingProvider: stakingProviderAddress })