From 96562c8e4037b5fe927837b16789283bb2eee8f4 Mon Sep 17 00:00:00 2001 From: Grandschtroumpf Date: Thu, 9 May 2019 17:34:55 +0200 Subject: [PATCH] semantic fixes --- src/app.js | 3 +-- src/app/components/vertical-icons.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app.js b/src/app.js index 1029761865..969e2aa1fa 100644 --- a/src/app.js +++ b/src/app.js @@ -33,8 +33,6 @@ var TransactionReceiptResolver = require('./transactionReceiptResolver') const PluginManagerComponent = require('./app/components/plugin-manager-component') -const VerticalIcons = require('./app/components/vertical-icons-component') - const CompileTab = require('./app/tabs/compile-tab') const SettingsTab = require('./app/tabs/settings-tab') const AnalysisTab = require('./app/tabs/analysis-tab') @@ -53,6 +51,7 @@ import { ThemeModule } from './app/tabs/theme-module' import { NetworkModule } from './app/tabs/network-module' import { SwapPanel } from './app/components/swap-panel' import { MainPanel } from './app/components/main-panel' +import { VerticalIcons } from './app/components/vertical-icons' var css = csjs` html { box-sizing: border-box; } diff --git a/src/app/components/vertical-icons.js b/src/app/components/vertical-icons.js index 60bc426d6f..91733d8138 100644 --- a/src/app/components/vertical-icons.js +++ b/src/app/components/vertical-icons.js @@ -6,7 +6,7 @@ let globalRegistry = require('../../global/registry') const EventEmitter = require('events') // Component -class VerticalIcon { +export class VerticalIcons { constructor (name, appStore, homeProfile) { this.store = appStore @@ -359,7 +359,6 @@ class VerticalIcon { } } -module.exports = VerticalIcon const css = csjs` .homeIcon {