They ruled to allow state legislatures to override voters by changing state law to allow that:
https://news.yahoo.com/analysis-supreme-court-tilted-electio...
and an upcoming case to watch, where they're expected to further undermine laws:
https://www.npr.org/2022/06/30/1106866830/supreme-court-to-t...