aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/blockies/blockies-component.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/blockies/blockies-component.js')
-rw-r--r--ui/app/components/blockies/blockies-component.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/ui/app/components/blockies/blockies-component.js b/ui/app/components/blockies/blockies-component.js
deleted file mode 100644
index b3a97ced4..000000000
--- a/ui/app/components/blockies/blockies-component.js
+++ /dev/null
@@ -1,35 +0,0 @@
-const Component = require('react').Component
-const createElement = require('react').createElement
-const blockies = require("ethereum-blockies");
-
-class BlockiesIdenticon extends Component {
-
- constructor(props) {
- super(props);
- }
-
- getOpts () {
- return {
- seed: this.props.seed,
- color: this.props.color,
- bgcolor: this.props.bgcolor,
- size: this.props.size,
- scale: this.props.scale,
- spotcolor: this.props.spotcolor,
- };
- }
-
- componentDidMount() {
- this.draw();
- }
-
- draw() {
- blockies.render(this.getOpts(), this.canvas);
- }
-
- render() {
- return createElement("canvas", {ref: canvas => this.canvas = canvas});
- }
-}
-
-module.exports = BlockiesIdenticon;