message: remove unneeded consts and if block
diff: @@ -30,15 +30,7 @@ export function energyUpgrade(
  item.sockets &&
  (getFirstSocketByCategoryHash(item.sockets, SocketCategoryHashes.ArmorTier) ||
  getFirstSocketByCategoryHash(item.sockets, SocketCategoryHashes.GhostTier));
  - const armorTierSocket =
  - item.sockets && getFirstSocketByCategoryHash(item.sockets, SocketCategoryHashes.ArmorTier);
  - const ghostTierSocket =
  - item.sockets && getFirstSocketByCategoryHash(item.sockets, SocketCategoryHashes.GhostTier);
  - const tierSocket = armorTierSocket?.plugSet ? armorTierSocket : ghostTierSocket;
  - // We want to display energy info for ghosts
  - if (!armorTierSocket?.plugSet) {
  - tierSocket = ghostTierSocket;
  - }
  +
  if (!tierSocket?.plugSet) {
  return [];
  }
  