chore: fix various lint warnings

This commit is contained in:
plebeius
2025-12-26 17:30:55 +01:00
parent c9c9a8a78d
commit 756bff4b04
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const useReplyModal = () => {
const getSelectedText = () => {
let text = document.getSelection()?.toString();
text && setSelectedText(`>${text}\n`);
if (text) setSelectedText(`>${text}\n`);
};
const openReplyModal = (parentCid: string, postCid: string, subplebbitAddress: string) => {