The PA case would not have materially impacted the race.My recollection is that Gorsuch, Thomas, Alito, and Kavanaugh would have gone Trump's way in the PA case, but Roberts went with the liberal justices and so the vote was 4-4 which upheld the PA Supreme Court decision
I think there wasn't a 9th justice because ACB had not been confirmed. How would she have voted ?