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(() => {
|
||||
if (index !== undefined) {
|
||||
navigate(`/p/${selectedAddress}/c/${selectedThread}`)
|
||||
navigate(`/p/${selectedAddress}/c/${selectedParentCid}`)
|
||||
localStorage.setItem("toastMessage", `Comment pending with index ${index}.`);
|
||||
}
|
||||
}, [index]);
|
||||
|
||||
@@ -68,7 +68,6 @@ export const StyledModal = styled(Modal)`
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 5px;
|
||||
color: black;
|
||||
text-decoration: underline;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -126,7 +125,7 @@ export const StyledModal = styled(Modal)`
|
||||
}
|
||||
|
||||
span {
|
||||
color: maroon;
|
||||
color: #000;
|
||||
}`;
|
||||
|
||||
case 'Yotsuba-B':
|
||||
@@ -168,7 +167,7 @@ export const StyledModal = styled(Modal)`
|
||||
}
|
||||
|
||||
span {
|
||||
color: maroon;
|
||||
color: #000;
|
||||
}`;
|
||||
|
||||
case 'Burichan':
|
||||
@@ -253,7 +252,7 @@ export const StyledModal = styled(Modal)`
|
||||
}
|
||||
|
||||
span {
|
||||
color: #333;
|
||||
color: #000;
|
||||
}`;
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user