move free posts message about sub select
This commit is contained in:
parent
40b7fde621
commit
15850f0dbb
|
@ -18,10 +18,10 @@ export function PostForm ({ type, sub, children }) {
|
||||||
if (!type) {
|
if (!type) {
|
||||||
return (
|
return (
|
||||||
<div className='align-items-center'>
|
<div className='align-items-center'>
|
||||||
<SubSelect noForm sub={sub?.name} />
|
|
||||||
{me?.freePosts && me?.sats < 1
|
{me?.freePosts && me?.sats < 1
|
||||||
? <div className='text-center font-weight-bold mb-3 text-success'>{me.freePosts} free posts left</div>
|
? <div className='text-center font-weight-bold mb-3 text-success'>{me.freePosts} free posts left</div>
|
||||||
: null}
|
: null}
|
||||||
|
<SubSelect noForm sub={sub?.name} />
|
||||||
<Link href={prefix + '/post?type=link'}>
|
<Link href={prefix + '/post?type=link'}>
|
||||||
<Button variant='secondary'>link</Button>
|
<Button variant='secondary'>link</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Loading…
Reference in New Issue