|
|
@ -15,7 +15,6 @@ class CreateSuccess extends Component {
|
|
|
|
static contextType = AppContext;
|
|
|
|
static contextType = AppContext;
|
|
|
|
constructor(props) {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
super(props);
|
|
|
|
console.log(props);
|
|
|
|
|
|
|
|
const electionSlug = this.props.match.params.slug;
|
|
|
|
const electionSlug = this.props.match.params.slug;
|
|
|
|
this.state = {
|
|
|
|
this.state = {
|
|
|
|
urlOfVote:
|
|
|
|
urlOfVote:
|
|
|
@ -36,7 +35,6 @@ class CreateSuccess extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|
const {t} = this.props;
|
|
|
|
const {t} = this.props;
|
|
|
|
console.log(this.props)
|
|
|
|
|
|
|
|
const electionLink = this.props.invitationOnly ? (
|
|
|
|
const electionLink = this.props.invitationOnly ? (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<p className="mt-4 mb-1">
|
|
|
|
<p className="mt-4 mb-1">
|
|
|
|