- name: Kelechi Oliver A.
- email: [email protected]
I added all my solution code to "custom_method", and then invoked it in "run_test".
I added all my solution code to "custom_method", and then invoked it in "run_test".
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity ^0.5.1; | |
| // enums | |
| // contract Mycontract2 { | |
| // // using enums in solidity | |
| // enum State { Waiting, Activated, Pending } | |
| // State public state; |
| import React, {Component} from 'react'; | |
| class ErrorBoundary extends Component { | |
| constructor(props) { | |
| super(props) | |
| this.state = { | |
| hasError: false, | |
| } | |
| } | |
| const Mailgun = require('mailgun-js'); | |
| const DOMAIN = 'mail.myfortvest.com'; | |
| const API_KEY = process.env.MAIL_API_KEY || ''; | |
| const PUBLIC_KEY = process.env.MAIL_PUBLIC_KEY || ''; | |
| const mailgun = Mailgun({ apiKey: API_KEY, domain: DOMAIN, publicApiKey: PUBLIC_KEY }); | |
| const sendMail = async (payload) => { | |
| const {variable, desc, ...rest} = payload; | |
| const variableKey = Object.keys(payload.variable); |
| import React, { useState, useEffect } from 'react'; | |
| import { Link, useHistory, useLocation } from "react-router-dom"; | |
| import axios from '../../services/axios'; | |
| import { message as alert } from 'antd'; | |
| import Header from '../header/header.component'; | |
| import './update-resources.css'; | |
| import Spinner from '../spinner/spinner.component'; | |
| export default function updateResource(props) { | |
| const [loading, setLoading] = useState(false); |
$ for commands, that just shows it a bash script and is meant to be run in a terminal