fix render error after build
This commit is contained in:
1 parent
e21c32e800
commit
ef10851e64
3 files changed
+24
-20
No files matched your search
@@ -519,7 +519,6 @@ export const useWorkspace = create<WorkspaceStore>((set, get) => ({
|
||||
|
||||
edit: (path, focusId) => {
|
||||
const workspace = get();
|
||||
const setting = useSetting.getState();
|
||||
const editor = workspace.editors.find((v) => v.path === path);
|
||||
if (editor) {
|
||||
editor.focusId = focusId;
|
||||
|
||||
Reference in new issue
Block a user