|
@@ -4,10 +4,9 @@ import { domain } from "../../config";
|
|
const ElectionStage = (props: {
|
|
const ElectionStage = (props: {
|
|
termEndsAt: number;
|
|
termEndsAt: number;
|
|
block: number;
|
|
block: number;
|
|
- stage?: any;
|
|
|
|
|
|
+ stage: any;
|
|
}) => {
|
|
}) => {
|
|
const { block, stage, termEndsAt } = props;
|
|
const { block, stage, termEndsAt } = props;
|
|
- console.log(`stage`, stage);
|
|
|
|
|
|
|
|
if (!stage) {
|
|
if (!stage) {
|
|
if (!block || !termEndsAt) return <div />;
|
|
if (!block || !termEndsAt) return <div />;
|
|
@@ -38,7 +37,7 @@ const ElectionStatus = (props: {
|
|
councilElection?: { termEndsAt: number; round: number; stage: any };
|
|
councilElection?: { termEndsAt: number; round: number; stage: any };
|
|
block: number;
|
|
block: number;
|
|
show: boolean;
|
|
show: boolean;
|
|
- stage?: any;
|
|
|
|
|
|
+ stage: any;
|
|
termEndsAt: number;
|
|
termEndsAt: number;
|
|
}) => {
|
|
}) => {
|
|
const { councilElection, block, termEndsAt, show, stage } = props;
|
|
const { councilElection, block, termEndsAt, show, stage } = props;
|