Skip to content

Commit

Permalink
remove unused prop
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianboros committed Sep 23, 2024
1 parent c8d81b9 commit d5b33e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions packages/wallet/frontend/src/components/icons/Eye.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { SVGProps } from 'react'

type EyeProps = SVGProps<SVGSVGElement> & { loading?: boolean }

export const Eye = ({ loading, ...props }: EyeProps) => {
export const Eye = (props: SVGProps<SVGSVGElement>) => {
return (
<svg
width="30px"
Expand All @@ -11,7 +9,6 @@ export const Eye = ({ loading, ...props }: EyeProps) => {
fill="none"
stroke="currentColor"
xmlns="http://www.w3.org/2000/svg"
className={loading ? 'animate-ping' : ''}
{...props}
>
<path
Expand Down
5 changes: 1 addition & 4 deletions packages/wallet/frontend/src/components/icons/SlashEye.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { SVGProps } from 'react'

type SlashEyeProps = SVGProps<SVGSVGElement> & { loading?: boolean }

export const SlashEye = ({ loading, ...props }: SlashEyeProps) => {
export const SlashEye = (props: SVGProps<SVGSVGElement>) => {
return (
<svg
width="30px"
Expand All @@ -11,7 +9,6 @@ export const SlashEye = ({ loading, ...props }: SlashEyeProps) => {
fill="none"
stroke="currentColor"
xmlns="http://www.w3.org/2000/svg"
className={loading ? 'animate-ping' : ''}
{...props}
>
<path
Expand Down

0 comments on commit d5b33e4

Please sign in to comment.