Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Oct 15, 2021
1 parent a2fdf1d commit 53f7166
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/miscellaneous.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,5 @@ export const isAnOrderId = (text: string): boolean => text.match(/^0x[a-fA-F0-9]
*
* @param text Possible address string to check
*/
export const isAnAddressAccount = (text: string): boolean => text.match(/^0x[a-fA-F0-9]{40}$|[a-zA-Z0-9]+\.[a-zA-Z]+$/)?.input !== undefined
export const isAnAddressAccount = (text: string): boolean =>
text.match(/^0x[a-fA-F0-9]{40}$|[a-zA-Z0-9]+\.[a-zA-Z]+$/)?.input !== undefined

0 comments on commit 53f7166

Please sign in to comment.