mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00: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:
@@ -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