Skip to content

Commit

Permalink
Add extra detail on revenue share success modal
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Apr 9, 2024
1 parent bab420a commit c0b696c
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import { Controller, useForm } from 'react-hook-form'

import { useGetFullCreatorTokenLazyQuery } from '@/api/queries/__generated__/creatorTokens.generated'
import { FullCreatorTokenFragment } from '@/api/queries/__generated__/fragments.generated'
import { SvgActionClock, SvgActionCreatorToken, SvgActionLinkUrl, SvgActionPayment } from '@/assets/icons'
import {
SvgActionArrowRight,
SvgActionClock,
SvgActionCreatorToken,
SvgActionLinkUrl,
SvgActionPayment,
} from '@/assets/icons'
import { FlexBox } from '@/components/FlexBox/FlexBox'
import { NumberFormat } from '@/components/NumberFormat'
import { Text } from '@/components/Text'
Expand Down Expand Up @@ -170,6 +176,10 @@ export const StartRevenueShare = ({ token, onClose, show }: StartRevenueSharePro
const successDetails = useMemo(() => {
if (localTokenData?.creatorTokenById) {
return [
{
text: "Your channel's revenue share is already transferred from channel rewards account to your member's account.",
icon: <SvgActionArrowRight />,
},
{
text: 'If any tokens remain unclaimed at the end of the revenue share period those will be returned to your channel balance.',
icon: <SvgActionPayment />,
Expand Down

0 comments on commit c0b696c

Please sign in to comment.