Fix typo in electron code