Trump said in a post on social media that he would be appealing what he called an "unjust decision" to the U.S. Supreme Court.