Add ENS notice on placeholder fields

This commit is contained in:
Willian Mitsuda 2021-07-02 16:24:37 -03:00
parent 1965b8d3a6
commit 9accae1532
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ const Home: React.FC = () => {
className="w-full border rounded focus:outline-none px-2 py-1 mb-10" className="w-full border rounded focus:outline-none px-2 py-1 mb-10"
type="text" type="text"
size={50} size={50}
placeholder="Search by address / txn hash / block number" placeholder="Search by address / txn hash / block number / ENS name"
onChange={handleChange} onChange={handleChange}
autoFocus autoFocus
></input> ></input>

View File

@ -50,8 +50,8 @@ const Title: React.FC = () => {
<input <input
className="w-full border-t border-b border-l rounded-l focus:outline-none px-2 py-1 text-sm" className="w-full border-t border-b border-l rounded-l focus:outline-none px-2 py-1 text-sm"
type="text" type="text"
size={50} size={60}
placeholder='Type "/" to search by address / txn hash / block number' placeholder='Type "/" to search by address / txn hash / block number / ENS name'
onChange={handleChange} onChange={handleChange}
ref={searchRef} ref={searchRef}
/> />