diff --git a/src/App.js b/src/App.js
index daf4725d..b0627aef 100644
--- a/src/App.js
+++ b/src/App.js
@@ -48,14 +48,14 @@ export default function App() {
} />
- }>
- } />
+ }>
+ } />
- }>
- } />
+ }>
+ } />
- }>
- } />
+ }>
+ } />
diff --git a/src/components/Board.jsx b/src/components/Board.jsx
index 851dcf0c..c04a87e9 100644
--- a/src/components/Board.jsx
+++ b/src/components/Board.jsx
@@ -122,7 +122,7 @@ const Board = ({ setBodyStyle }) => {
const handleClickForm = () => {
setShowPostFormLink(false);
setShowPostForm(true);
- navigate('/board/post-thread');
+ navigate(`/${selectedAddress}/post`);
};
const handlePublishComment = async () => {
@@ -232,8 +232,8 @@ const Board = ({ setBodyStyle }) => {
{defaultSubplebbits.map(subplebbit => (
[
- handleClick(subplebbit.title, subplebbit.address)}
- >{subplebbit.title}
+ handleClick(subplebbit.title, subplebbit.address)}
+ >{subplebbit.title}
]
))}
@@ -318,7 +318,7 @@ const Board = ({ setBodyStyle }) => {
[
- Catalog
+ Catalog
]
@@ -358,7 +358,7 @@ const Board = ({ setBodyStyle }) => {
[
- Reply
+ Reply
]
diff --git a/src/components/Catalog.jsx b/src/components/Catalog.jsx
index 40b81f07..30c14157 100644
--- a/src/components/Catalog.jsx
+++ b/src/components/Catalog.jsx
@@ -121,7 +121,7 @@ const Catalog = ({ setBodyStyle }) => {
const handleClickForm = () => {
setShowPostFormLink(false);
setShowPostForm(true);
- navigate('/board/catalog/post-thread');
+ navigate(`/${selectedAddress}/catalog/post`);
};
const handlePublishComment = async () => {
@@ -218,8 +218,8 @@ const Catalog = ({ setBodyStyle }) => {
{defaultSubplebbits.map(subplebbit => (
[
- handleClick(subplebbit.title, subplebbit.address)}
- >{subplebbit.title}
+ handleClick(subplebbit.title, subplebbit.address)}
+ >{subplebbit.title}
]
))}
@@ -305,7 +305,7 @@ const Catalog = ({ setBodyStyle }) => {
[
- Return
+ Return
]
diff --git a/src/components/Home.jsx b/src/components/Home.jsx
index 53bf1e43..90187fdb 100644
--- a/src/components/Home.jsx
+++ b/src/components/Home.jsx
@@ -74,7 +74,7 @@ const Home = ({ setBodyStyle }) => {
{defaultSubplebbits.map(subplebbit => (
{subplebbit.title}
-
{
+
{
handleClick(subplebbit.title, subplebbit.address);
}} >

diff --git a/src/components/Thread.jsx b/src/components/Thread.jsx
index 155201fd..683c83f5 100644
--- a/src/components/Thread.jsx
+++ b/src/components/Thread.jsx
@@ -44,7 +44,7 @@ const Thread = ({ setBodyStyle }) => {
const handleClickForm = () => {
setShowReplyFormLink(false);
setShowReplyForm(true);
- navigate('/board/thread/post-reply');
+ navigate(`/${selectedAddress}/thread/post`);
};
const handleStyleChange = (event) => {
@@ -120,8 +120,8 @@ const Thread = ({ setBodyStyle }) => {
{defaultSubplebbits.map(subplebbit => (
[
- handleClick(subplebbit.title, subplebbit.address)}
- >{subplebbit.title}
+ handleClick(subplebbit.title, subplebbit.address)}
+ >{subplebbit.title}
]
))}
@@ -205,7 +205,7 @@ const Thread = ({ setBodyStyle }) => {
[
- Return
+ Return
]