add boost back to posts & fix header problem
This commit is contained in:
parent
d9239a148a
commit
8c5832c3e6
@ -13,7 +13,7 @@ import { useEffect } from 'react'
|
||||
import { randInRange } from '../lib/rand'
|
||||
|
||||
function WalletSummary ({ me }) {
|
||||
return `${me.sats} \\ ${me.stacked}`
|
||||
return `${me?.sats} \\ ${me?.stacked}`
|
||||
}
|
||||
|
||||
function RefreshableLink ({ href, children, ...props }) {
|
||||
@ -44,8 +44,8 @@ export default function Header () {
|
||||
<link rel='shortcut icon' href={me?.hasNewNotes ? '/favicon-notify.png' : '/favicon.png'} />
|
||||
</Head>
|
||||
<div className='position-relative mr-1'>
|
||||
<NavDropdown className='px-0' title={`@${me.name}`} alignRight>
|
||||
<Link href={'/' + me.name} passHref>
|
||||
<NavDropdown className='px-0' title={`@${me?.name}`} alignRight>
|
||||
<Link href={'/' + me?.name} passHref>
|
||||
<NavDropdown.Item>
|
||||
profile
|
||||
{me && !me.bio &&
|
||||
|
@ -28,7 +28,7 @@ export function PostForm () {
|
||||
}
|
||||
|
||||
if (router.query.type === 'discussion') {
|
||||
return <DiscussionForm />
|
||||
return <DiscussionForm adv />
|
||||
} else {
|
||||
return <LinkForm />
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user