summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/SearchForm.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/SearchForm.js b/src/components/SearchForm.js
index 8b55e18..8c502a1 100644
--- a/src/components/SearchForm.js
+++ b/src/components/SearchForm.js
@@ -59,14 +59,8 @@ class SearchForm extends React.Component {
InputProps={{
endAdornment: (
<InputAdornment position="end">
- {this.state.value !== "" && (
- <IconButton
- onClick={this.clearSearch}
- sx={{
- backgroundColor:
- "inherit !important"
- }}
- >
+ {this.state.searchValue !== "" && (
+ <IconButton onClick={this.clearSearch}>
<ClearIcon />
</IconButton>
)}