Skip to content

Commit

Permalink
remove non used variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gala1234 committed Nov 16, 2023
1 parent e624f42 commit bb3e9b3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions explorer/src/icons/NymVpn.tsx
Original file line number Diff line number Diff line change
@@ -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<DiscordIconProps> = ({ size, color: colorProp }) => {
const theme = useTheme();
const color = colorProp || theme.palette.text.primary;
export const NymVpnIcon: FCWithChildren<DiscordIconProps> = ({ size }) => {
return (
<svg width={size?.width} height={size?.height} viewBox="0 0 170 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
Expand Down Expand Up @@ -59,5 +55,4 @@ export const NymVpnIcon: FCWithChildren<DiscordIconProps> = ({ size, color: colo

NymVpnIcon.defaultProps = {
size: { width: 80, height: 12 },
color: undefined,
};

0 comments on commit bb3e9b3

Please sign in to comment.