mirror of
https://github.com/mathuo/dockview
synced 2025-05-02 09:38:26 +00:00
fix: remove sonar code smell
This commit is contained in:
parent
6a1b4bee8c
commit
6b60712943
@ -341,8 +341,7 @@ export class DockviewComponent
|
||||
new DefaultDeserializer(this, {
|
||||
createPanel: (id) => {
|
||||
const panelData = panels[id];
|
||||
const panel = this.deserializer!.fromJSON(panelData);
|
||||
return panel;
|
||||
return this.deserializer!.fromJSON(panelData);
|
||||
},
|
||||
})
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user