feat(multisubs): add settings modal

This commit is contained in:
plebeius.eth
2024-05-17 16:28:09 +02:00
parent 25e261bb55
commit 970c726720
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ const Board = () => {
return (
<div className={styles.content}>
{location.pathname === `/p/${subplebbitAddress}/settings` && <SettingsModal />}
{location.pathname.endsWith('/settings') && <SettingsModal />}
{showReplyModal && activeCid && <ReplyModal closeModal={closeModal} parentCid={activeCid} scrollY={scrollY} />}
{feed.length > 0 && (
<>
+1 -1
View File
@@ -124,7 +124,7 @@ const Catalog = () => {
return (
<div className={styles.content}>
{location.pathname === `/p/${subplebbitAddress}/catalog/settings` && <SettingsModal />}
{location.pathname.endsWith('/settings') && <SettingsModal />}
<hr />
<div className={styles.catalog}>
<Virtuoso