Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class compilerLoaderPlugin extends Plugin {
export class compilerLoaderPluginDesktop extends ElectronPlugin {
constructor() {
super(profile)
this.methods = []
this.methods = methods
}

async onActivation(): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export class electronConfig extends ElectronPlugin {
name: 'electronconfig',
description: 'electronconfig',
})
this.methods = []
this.methods = ['readConfig']
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,10 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
item.templateType = TEMPLATE_METADATA[item.value]

if (item.templateType && item.templateType.desktopCompatible === false && isElectron()) {
return (<></>)
return <React.Fragment key={item.name || index}></React.Fragment>
}

if (item.templateType && item.templateType.disabled === true) return
if (item.templateType && item.templateType.disabled === true) return null
if (!item.opts) {
return (
<RemixUIGridCell
Expand Down
Loading