mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-06 19:52:24 +03:00
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:
1 file changed
+1
-1
@@ -128,7 +128,7 @@ const DetailPageImpl = memo(function DetailPageImpl() {
|
||||
globalContext.docMode.set(mode);
|
||||
|
||||
return () => {
|
||||
globalContext.docId.set(null);
|
||||
globalContext.docMode.set(null);
|
||||
};
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user