feat(edit menu): add comment edit and delete for authors

This commit is contained in:
Tom (plebeius.eth)
2024-06-04 10:30:01 +02:00
parent 225d5f04f1
commit 2fabd3cf54
39 changed files with 162 additions and 71 deletions
+14 -12
View File
@@ -35,18 +35,20 @@ const BoardLayout = () => {
<div className={styles.boardLayout}>
<TopBar />
<BoardHeader />
{isMobile ? (
<>
<PostForm key={key} />
<MobileBoardButtons />
</>
) : (
<>
<PostForm key={key} />
{subplebbitAddress && <SubplebbitStats />}
<DesktopBoardButtons />
</>
)}
{isMobile
? subplebbitAddress && (
<>
<PostForm key={key} />
<MobileBoardButtons />
</>
)
: subplebbitAddress && (
<>
<PostForm key={key} />
<SubplebbitStats />
<DesktopBoardButtons />
</>
)}
<Outlet />
</div>
);