Skip to content

Commit

Permalink
explorer: remove epochs from search placeholder (MystenLabs#9381)
Browse files Browse the repository at this point in the history
## Description 

| before | after |
| - | - |
| <img width="593" alt="Screenshot 2023-03-15 at 23 08 41"
src="https://user-images.githubusercontent.com/10210143/225463377-4485e42e-f6ee-48f0-96ec-a5b566da294d.png">
| <img width="593" alt="Screenshot 2023-03-15 at 23 08 47"
src="https://user-images.githubusercontent.com/10210143/225463441-7c8ba45b-2a8e-4c80-b497-08e028ae01b9.png">
|

closes APPS-632
  • Loading branch information
pchrysochoidis authored Mar 15, 2023
1 parent 62cb1d6 commit 1baf053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/explorer/src/components/search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Search() {
queryValue={query}
onChange={handleTextChange}
onSelectResult={handleSelectResult}
placeholder="Search Addresses / Objects / Transactions / Epochs"
placeholder="Search Addresses / Objects / Transactions"
isLoading={isLoading}
options={results}
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/explorer/src/ui/stories/Search.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const Default: StoryObj<SearchProps> = {
isLoading={false}
onChange={(e) => setQuery(e.currentTarget.value)}
onSelectResult={(result) => setQuery(result.label)}
placeholder="Search Addresses / Objects / Transactions / Epochs"
placeholder="Search Addresses / Objects / Transactions"
options={filteredOptions}
/>
</div>
Expand Down

0 comments on commit 1baf053

Please sign in to comment.