remove non used variable

This commit is contained in:
Gala
2023-11-16 12:33:43 +01:00
parent e624f42ad5
commit bb3e9b3d4e
+1 -6
View File
@@ -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
@@ -59,5 +55,4 @@ export const NymVpnIcon: FCWithChildren<DiscordIconProps> = ({ size, color: colo
NymVpnIcon.defaultProps = {
size: { width: 80, height: 12 },
color: undefined,
};