I don’t have my pocket constitution with me, but, isn’t there constitutional provision for states to choose their presidential electors???
States can choose their electors by whatever means the legislature chooses.