From bb3e9b3d4efde3e8b6557dfd22221621ff426272 Mon Sep 17 00:00:00 2001 From: Gala Date: Thu, 16 Nov 2023 12:33:43 +0100 Subject: [PATCH] remove non used variable --- explorer/src/icons/NymVpn.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/explorer/src/icons/NymVpn.tsx b/explorer/src/icons/NymVpn.tsx index d943c4efaf..04e54c851f 100644 --- a/explorer/src/icons/NymVpn.tsx +++ b/explorer/src/icons/NymVpn.tsx @@ -1,14 +1,10 @@ import * as React from 'react'; -import { useTheme } from '@mui/material/styles'; interface DiscordIconProps { size?: { width: number; height: number }; - color?: string; } -export const NymVpnIcon: FCWithChildren = ({ size, color: colorProp }) => { - const theme = useTheme(); - const color = colorProp || theme.palette.text.primary; +export const NymVpnIcon: FCWithChildren = ({ size }) => { return ( = ({ size, color: colo NymVpnIcon.defaultProps = { size: { width: 80, height: 12 }, - color: undefined, };