Skip to content

Commit

Permalink
refactor: use theme button component
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Jul 7, 2021
1 parent 7dc8f62 commit 8ec47c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/observability-packs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import PackTile from '../components/PackTile';
import {
SearchInput,
Icon,
Button,
useTessen,
useInstrumentedData,
useKeyPress,
Expand Down Expand Up @@ -223,7 +224,8 @@ const ObservabilityPacksPage = ({ data, location }) => {
}}
>
{!searchOpen && (
<button
<Button
variant={Button.VARIANT.PLAIN}
css={css`
background: none;
border: none;
Expand All @@ -233,7 +235,7 @@ const ObservabilityPacksPage = ({ data, location }) => {
onClick={() => setSearchOpen(true)}
>
<Icon name="fe-search" />
</button>
</Button>
)}
<SearchInput
ref={searchInputRef}
Expand Down

0 comments on commit 8ec47c6

Please sign in to comment.