add more ens domain codes
This commit is contained in:
parent
9dfa84414e
commit
3bcdc80449
|
@ -22,7 +22,7 @@ type Props = {
|
||||||
inputAdornment?: React.Element,
|
inputAdornment?: React.Element,
|
||||||
}
|
}
|
||||||
|
|
||||||
const isValidEnsName = name => /^([\w-]+\.)+(eth|test)$/.test(name)
|
const isValidEnsName = name => /^([\w-]+\.)+(eth|test|xyz|luxe)$/.test(name)
|
||||||
|
|
||||||
const { useState, useEffect } = React
|
const { useState, useEffect } = React
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue