diff --git a/client/src/components/Banner.tsx b/client/src/components/Banner.tsx new file mode 100644 index 00000000..903f4b5d --- /dev/null +++ b/client/src/components/Banner.tsx @@ -0,0 +1,11 @@ +import useBanner from "src/hooks/useBanner"; + +export default function Banner() { + const { bannerText } = useBanner(); + + return bannerText ? ( +
+ {bannerText} +
+ ) : null; +} diff --git a/client/src/components/Claim/RewardsView.tsx b/client/src/components/Claim/RewardsView.tsx index 19fd549f..61550693 100644 --- a/client/src/components/Claim/RewardsView.tsx +++ b/client/src/components/Claim/RewardsView.tsx @@ -12,6 +12,8 @@ interface Props { isLoadingClaimReward: boolean; selectAll: () => void; poolInfo?: any; + maxTokenSelected: number; + selectRandomTokens: any; } export default function RewardsView({ @@ -22,6 +24,8 @@ export default function RewardsView({ isLoadingClaimReward, selectAll, poolInfo, + maxTokenSelected, + selectRandomTokens, }: Props) { if (claimableTokens.length > 0) { return ( @@ -93,17 +97,23 @@ export default function RewardsView({ className={"background flex flex-row items-center p-5 rounded-2xl"} >
Selected {numberOfSelectedTokens} token
-
+
+ + +