diff --git a/app/my-dashboard/_sections/activity-section/activity-section.tsx b/app/my-dashboard/_sections/activity-section/activity-section.tsx index 0f680eb49..ea5302619 100644 --- a/app/my-dashboard/_sections/activity-section/activity-section.tsx +++ b/app/my-dashboard/_sections/activity-section/activity-section.tsx @@ -1,12 +1,15 @@ +import { ChevronRight } from "lucide-react"; import { useMemo, useState } from "react"; import { Contributions } from "@/app/my-dashboard/_features/contributions/contributions"; import { RewardsTable } from "@/app/my-dashboard/_features/rewards-table/rewards-table"; +import { Button } from "@/design-system/atoms/button/variants/button-default"; import { Typo } from "@/design-system/atoms/typo"; import { Tabs } from "@/design-system/molecules/tabs/tabs"; import { useSidePanelsContext } from "@/shared/features/side-panels/side-panels.context"; +import { useRequestPaymentFlow } from "@/shared/panels/_flows/request-payment-flow/request-payment-flow.context"; import { Translate } from "@/shared/translation/components/translate/translate"; enum ActivityTabs { @@ -17,6 +20,7 @@ enum ActivityTabs { export function ActivitySection() { const { close } = useSidePanelsContext(); + const { open: openRequestPaymentFlow } = useRequestPaymentFlow(); const [toggleActivityView, setToggleActivityView] = useState(ActivityTabs.CONTRIBUTIONS); const renderActivityView = useMemo(() => { @@ -71,6 +75,19 @@ export function ActivitySection() { ]} selectedId={toggleActivityView} /> + {/*TODO move this button to the right bloc and add rewards count*/} +