const { Component } = require('preact'); const preact = require('preact'); // const { connect } = require('preact-redux'); const idleAnimation = require('./anims/idle'); const wiggle = require('./anims/wiggle'); class MnniAvatatr extends Component { constructor() { super(); // The animation ids are a check to ensure that animations are not repeated // When a new account animation is communicated with state it will have a corresponding Id // which is a count of how many resoluttions have passed this.animations = []; this.resetAnimations = this.resetAnimations.bind(this); } render() { const { account, mtxActive } = this.props; return (