From 83bcde00eb0fa8c7889af115e272eb53d03b8c56 Mon Sep 17 00:00:00 2001
From: moo-onthelawn <70078372+moo-onthelawn@users.noreply.github.com>
Date: Thu, 11 Jan 2024 11:02:23 -0500
Subject: [PATCH] TRCL-1623 Update Positions icon in nav sidebar (#226)
* update icon
* remove unused cube icon
---
src/components/Icon.tsx | 3 ---
src/icons/cube.svg | 3 ---
src/icons/index.ts | 1 -
src/pages/portfolio/Portfolio.tsx | 2 +-
4 files changed, 1 insertion(+), 8 deletions(-)
delete mode 100644 src/icons/cube.svg
diff --git a/src/components/Icon.tsx b/src/components/Icon.tsx
index d8db86f..615df90 100644
--- a/src/components/Icon.tsx
+++ b/src/components/Icon.tsx
@@ -24,7 +24,6 @@ import {
CoinsIcon,
CommentIcon,
CopyIcon,
- CubeIcon,
DepositIcon,
DepthChartIcon,
DiscordIcon,
@@ -99,7 +98,6 @@ export enum IconName {
Coins = 'Coins',
Comment = 'Comment',
Copy = 'Copy',
- Cube = 'Cube',
Deposit = 'Deposit',
DepthChart = 'DepthChart',
Discord = 'Discord',
@@ -175,7 +173,6 @@ const icons = {
[IconName.Coins]: CoinsIcon,
[IconName.Comment]: CommentIcon,
[IconName.Copy]: CopyIcon,
- [IconName.Cube]: CubeIcon,
[IconName.Deposit]: DepositIcon,
[IconName.DepthChart]: DepthChartIcon,
[IconName.Discord]: DiscordIcon,
diff --git a/src/icons/cube.svg b/src/icons/cube.svg
deleted file mode 100644
index 03568a1..0000000
--- a/src/icons/cube.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/src/icons/index.ts b/src/icons/index.ts
index bd3b347..8f22631 100644
--- a/src/icons/index.ts
+++ b/src/icons/index.ts
@@ -19,7 +19,6 @@ export { default as CoinMarketCapIcon } from './logos/coinmarketcap.svg';
export { default as CoinsIcon } from './coins.svg';
export { default as CommentIcon } from './comment.svg';
export { default as CopyIcon } from './copy.svg';
-export { default as CubeIcon } from './cube.svg';
export { default as DepositIcon } from './deposit.svg';
export { default as DepthChartIcon } from './depth-chart.svg';
export { default as DiscordIcon } from './discord.svg';
diff --git a/src/pages/portfolio/Portfolio.tsx b/src/pages/portfolio/Portfolio.tsx
index 9b46b43..53eae6c 100644
--- a/src/pages/portfolio/Portfolio.tsx
+++ b/src/pages/portfolio/Portfolio.tsx
@@ -118,7 +118,7 @@ export default () => {
},
{
value: PortfolioRoute.Positions,
- slotBefore: ,
+ slotBefore: ,
label: stringGetter({ key: STRING_KEYS.POSITIONS }),
href: PortfolioRoute.Positions,
},