Skip to content

Commit

Permalink
chore: add href to stake sub link in create post modal
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Dec 27, 2023
1 parent 6153b0a commit 730ba5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/posts/editor/ModalEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import TxButton from 'src/components/utils/TxButton'
import { useFetchSpaces, useSelectSpaceIdsWhereAccountCanPost } from 'src/rtk/app/hooks'
import { AnyId, DataSourceTypes, IpfsCid, PostContent } from 'src/types'
import { selectSpaceIdsThatCanSuggestIfSudo } from 'src/utils'
import { getSubIdCreatorsLink } from 'src/utils/links'
import { RegularPostExt } from '.'
import { fieldName, FormValues } from './Fileds'
import styles from './index.module.sass'
Expand Down Expand Up @@ -205,7 +206,7 @@ export const PostEditorModal = (props: PostEditorModalProps) => {
staking SUB first.
</p>
</div>
<Button shape='round' size='large' type='primary'>
<Button shape='round' type='primary' href={getSubIdCreatorsLink()} target='_blank'>
Stake SUB
</Button>
</div>
Expand Down

0 comments on commit 730ba5e

Please sign in to comment.