fix: reset doc mode correctly (#7071)

it looks like a typo to me, but no obvious issue has been reported related to it?
This commit is contained in:
pengx17
2024-05-27 06:26:03 +00:00
parent a365acbd87
commit 8ed0ceb63e

View File

@@ -128,7 +128,7 @@ const DetailPageImpl = memo(function DetailPageImpl() {
globalContext.docMode.set(mode);
return () => {
globalContext.docId.set(null);
globalContext.docMode.set(null);
};
}
return;