From 1370bf049b9366ca06d1b740937298b69e22e5b0 Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Sat, 19 Aug 2023 21:27:31 +0200 Subject: [PATCH] update board settings ui --- src/components/BoardSettings.jsx | 6 +++--- src/components/views/Board.jsx | 6 +++--- src/components/views/Catalog.jsx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/BoardSettings.jsx b/src/components/BoardSettings.jsx index ebfa08b6..811d360c 100644 --- a/src/components/BoardSettings.jsx +++ b/src/components/BoardSettings.jsx @@ -304,7 +304,7 @@ const BoardSettings = ({ subplebbit }) => { - [ +  [ { @@ -315,10 +315,10 @@ const BoardSettings = ({ subplebbit }) => { ); }} > - Board Settings + Settings - ]  + ] ); }; diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index 8aecbdc0..dd710989 100755 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -903,13 +903,13 @@ const Board = () => { [ {window.scrollTo(0, 0)}}>Catalog ] + {subplebbit?.roles[account?.author?.address]?.role === "admin" ? ( + + ) : null} {subplebbit?.state === "succeeded" ? ( <> - {subplebbit?.roles[account?.author?.address]?.role === "admin" ? ( - - ) : null} [ handleSubscribe()}> diff --git a/src/components/views/Catalog.jsx b/src/components/views/Catalog.jsx index 1b7bb878..583e0565 100755 --- a/src/components/views/Catalog.jsx +++ b/src/components/views/Catalog.jsx @@ -1260,13 +1260,13 @@ const Catalog = () => { [ {window.scrollTo(0, 0)}}>Return ] + {subplebbit?.roles[account?.author?.address]?.role === "admin" ? ( + + ) : null} {subplebbit.state === "succeeded" ? ( <> - {subplebbit?.roles[account?.author?.address]?.role === "admin" ? ( - - ) : null} [ handleSubscribe()}>