The Labour party under Corbyn were unelectable. Personally, he came across as a British version of Che Guevara. He positioned the party to the far left.
The Labour party now needs to go back to the drawing board and become a serious electable party.
The only way Labour can win an election is to move back to being a Centre-Left party. Hopefully they will elect a leader that people can relate to.