Skip to content

Commit 6e0037d

Browse files
committed
removing unique ID and unused component
1 parent f8b9de7 commit 6e0037d

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

app/javascript/components/search/controls/Filters.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ function FilterCheckboxes(props) {
1616
}
1717
props.setSelection(newSelection)
1818
}
19-
const uniqueId = Math.random().toString(36).substr(2, 8)
2019

2120
return (
2221
<ul className="facet-filter-list">
2322
{
2423
props.filters.map(filter => {
2524
return (
26-
<li key={`li-${filter.id}-${uniqueId}`}>
25+
<li key={`li-${filter.id}`}>
2726
<label htmlFor={filter.id}>
2827
<input
2928
type='checkbox'

app/javascript/components/search/controls/FiltersSearchBar.jsx

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)