add more ens domain codes

This commit is contained in:
Mikhail Mikheev 2019-07-29 17:25:09 +04:00
parent 9dfa84414e
commit 3bcdc80449
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ type Props = {
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