fix: hr in edited content do not trigger folding (#748)

pull/751/head
Stephen Zhou 2 years ago committed by GitHub
parent 334da5e903
commit d51af7e98a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,7 @@ const MemoContent: React.FC<Props> = (props: Props) => {
expandButtonStatus: -1, expandButtonStatus: -1,
}); });
} }
}, [user?.localSetting.enableFoldMemo]); }, [user?.localSetting.enableFoldMemo, content]);
const handleMemoContentClick = async (e: React.MouseEvent) => { const handleMemoContentClick = async (e: React.MouseEvent) => {
if (onMemoContentClick) { if (onMemoContentClick) {

Loading…
Cancel
Save