mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update board settings ui
This commit is contained in:
@@ -903,13 +903,13 @@ const Board = () => {
|
||||
[
|
||||
<Link to={`/p/${selectedAddress}/catalog`} onClick={()=> {window.scrollTo(0, 0)}}>Catalog</Link>
|
||||
]
|
||||
{subplebbit?.roles[account?.author?.address]?.role === "admin" ? (
|
||||
<BoardSettings subplebbit={subplebbit} />
|
||||
) : null}
|
||||
</div>
|
||||
{subplebbit?.state === "succeeded" ? (
|
||||
<>
|
||||
<span className="subscribe-button-desktop">
|
||||
{subplebbit?.roles[account?.author?.address]?.role === "admin" ? (
|
||||
<BoardSettings subplebbit={subplebbit} />
|
||||
) : null}
|
||||
[
|
||||
<span id="subscribe" style={{cursor: 'pointer'}}>
|
||||
<span onClick={() => handleSubscribe()}>
|
||||
|
||||
Reference in New Issue
Block a user