fix: remove sonar code smell

This commit is contained in:
mathuo 2022-03-17 19:19:26 +00:00
parent 6a1b4bee8c
commit 6b60712943
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -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);
},
})
);