Skip to content

Commit

Permalink
fix: address field prop types (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Jan 23, 2024
1 parent 2d1a1dd commit aeb63a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AddressField/AddressField.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { FieldProps } from '../Field/Field'
export type Props = FieldProps & {
fieldClassName?: string
i18n?: { errorMessage: string }
resolveName: (address: string) => string | undefined
resolveName: (address: string) => Promise<string | undefined>
}
4 changes: 3 additions & 1 deletion src/components/AddressField/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
import AddressField from './AddressField'
export default AddressField
import { Props as AddressFieldProps } from './AddressField.types'

export { AddressField, AddressFieldProps }
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export * from './components/SmartWearableFilter'
export * from './components/SmartBadge'
export * from './components/SmartIcon'
export * from './components/CommunityBubble'

export * from './components/AddressField'
// Semantic components
/* eslint-disable no-restricted-imports */
export * from 'semantic-ui-react'
Expand Down

1 comment on commit aeb63a2

@vercel
Copy link

@vercel vercel bot commented on aeb63a2 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

decentraland-ui – ./

decentraland-ui-git-master-decentraland1.vercel.app
decentraland-ui-decentraland1.vercel.app

Please sign in to comment.