From d5b33e4f215bc8af29fa963a2439cacf0ba48d60 Mon Sep 17 00:00:00 2001 From: Adrian Boros Date: Mon, 23 Sep 2024 13:14:04 +0300 Subject: [PATCH] remove unused prop --- packages/wallet/frontend/src/components/icons/Eye.tsx | 5 +---- packages/wallet/frontend/src/components/icons/SlashEye.tsx | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/wallet/frontend/src/components/icons/Eye.tsx b/packages/wallet/frontend/src/components/icons/Eye.tsx index 134679fa4..9b732a346 100644 --- a/packages/wallet/frontend/src/components/icons/Eye.tsx +++ b/packages/wallet/frontend/src/components/icons/Eye.tsx @@ -1,8 +1,6 @@ import { SVGProps } from 'react' -type EyeProps = SVGProps & { loading?: boolean } - -export const Eye = ({ loading, ...props }: EyeProps) => { +export const Eye = (props: SVGProps) => { return ( { fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg" - className={loading ? 'animate-ping' : ''} {...props} > & { loading?: boolean } - -export const SlashEye = ({ loading, ...props }: SlashEyeProps) => { +export const SlashEye = (props: SVGProps) => { return ( { fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg" - className={loading ? 'animate-ping' : ''} {...props} >