How to use the arc.getAccountIsEnabled function in arc

To help you get started, we’ve selected a few arc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github daostack / alchemy / src / layouts / Header.tsx View on Github external
public render(): RenderOutput {
    const {
      currentAccountProfile,
      currentAccountAddress,
    } = this.props;
    const dao = this.props.data;

    const daoAvatarAddress = dao ? dao.address : null;
    const accountIsEnabled = getAccountIsEnabled();
    const web3ProviderInfo = getWeb3ProviderInfo();
    const trainingTooltipsOn = this.getTrainingTooltipsEnabled();

    return(
      <div>
        <nav>
          <div>
            {this.props.menuOpen ?
              <img src="/assets/images/Icon/Close.svg"> :
              <img src="/assets/images/Icon/Menu.svg">}
          </div>
          
            <div>
              
                <img src="/assets/images/alchemy-logo-white.svg">
              </div></nav></div>