From 437f4c54d2c9b3ac5ee9b1f779d25a4b1136e138 Mon Sep 17 00:00:00 2001 From: David Disu Date: Mon, 14 Feb 2022 13:45:30 +0100 Subject: [PATCH] Use new helper file in tab-proxy --- apps/remix-ide/src/app/panels/tab-proxy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide/src/app/panels/tab-proxy.js b/apps/remix-ide/src/app/panels/tab-proxy.js index 267b54d853..2c79d9b673 100644 --- a/apps/remix-ide/src/app/panels/tab-proxy.js +++ b/apps/remix-ide/src/app/panels/tab-proxy.js @@ -2,8 +2,8 @@ import React from 'react' // eslint-disable-line import ReactDOM from 'react-dom' import { Plugin } from '@remixproject/engine' import { TabsUI } from '@remix-ui/tabs' +import { getPathIcon } from '@remix-ui/helper' const EventEmitter = require('events') -const helper = require('../../lib/helper') const profile = { name: 'tabs', @@ -231,7 +231,7 @@ export class TabProxy extends Plugin { title, icon, tooltip: name, - iconClass: helper.getPathIcon(name) + iconClass: getPathIcon(name) }) formatPath.shift() if (formatPath.length > 0) { @@ -247,7 +247,7 @@ export class TabProxy extends Plugin { title: duplicateTabTitle, icon, tooltip: duplicateTabName, - iconClass: helper.getPathIcon(duplicateTabName) + iconClass: getPathIcon(duplicateTabName) } } } @@ -261,7 +261,7 @@ export class TabProxy extends Plugin { title, icon, tooltip: name, - iconClass: helper.getPathIcon(name) + iconClass: getPathIcon(name) }) }