Remove unneeded delete (#2835)

This commit is contained in:
David Wheatley 2021-05-05 15:46:23 +01:00 committed by GitHub
parent 66233ce818
commit 588a9f952f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,8 +100,6 @@ export default class AdminPage extends Page {
const { setting, help, ...componentAttrs } = entry;
delete componentAttrs.help;
const value = this.setting([setting])();
if (['bool', 'checkbox', 'switch', 'boolean'].includes(componentAttrs.type)) {
return (