fix replymodal

This commit is contained in:
plebbitor
2023-04-22 21:20:45 +02:00
parent 981f049811
commit 41ab26d7d1
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -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]);
+3 -4
View File
@@ -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;
}`;
}
}}