mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix replymodal
This commit is contained in:
@@ -78,7 +78,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (index !== undefined) {
|
if (index !== undefined) {
|
||||||
navigate(`/p/${selectedAddress}/c/${selectedThread}`)
|
navigate(`/p/${selectedAddress}/c/${selectedParentCid}`)
|
||||||
localStorage.setItem("toastMessage", `Comment pending with index ${index}.`);
|
localStorage.setItem("toastMessage", `Comment pending with index ${index}.`);
|
||||||
}
|
}
|
||||||
}, [index]);
|
}, [index]);
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ export const StyledModal = styled(Modal)`
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
color: black;
|
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
@@ -126,7 +125,7 @@ export const StyledModal = styled(Modal)`
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: maroon;
|
color: #000;
|
||||||
}`;
|
}`;
|
||||||
|
|
||||||
case 'Yotsuba-B':
|
case 'Yotsuba-B':
|
||||||
@@ -168,7 +167,7 @@ export const StyledModal = styled(Modal)`
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: maroon;
|
color: #000;
|
||||||
}`;
|
}`;
|
||||||
|
|
||||||
case 'Burichan':
|
case 'Burichan':
|
||||||
@@ -253,7 +252,7 @@ export const StyledModal = styled(Modal)`
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: #333;
|
color: #000;
|
||||||
}`;
|
}`;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user