mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
chore: fix various lint warnings
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user