When any recount is pending under chapter 12-21, or when there are pending certiorari proceedings to review such recount, judgment shall not be entered until the result of such recount is finally determined. The judgment finally entered shall declare the result of the election.
SDCL 12-22-21