Skip to content

Commit

Permalink
Clean up dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
samau3 committed Sep 19, 2024
1 parent fdff6ba commit 309dfd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion client/src/pages/patients/inputs/MedicalDataSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ export default function MedicalDataSearch({
loading={loading}
combobox={combobox}
label={category.charAt(0).toUpperCase() + category.slice(1)}
inputValue={search}
searchQuery={search}
handleSelectValue={handleSelectValue}
fetchOptions={fetchOptions}
Expand Down
5 changes: 2 additions & 3 deletions client/src/pages/patients/inputs/SearchDatabaseInputField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const searchDatabaseInputFieldProps = {
loading: PropTypes.bool.isRequired,
combobox: PropTypes.object.isRequired,
label: PropTypes.string.isRequired,
inputValue: PropTypes.string.isRequired,
searchQuery: PropTypes.string.isRequired,
handleSelectValue: PropTypes.func.isRequired,
fetchOptions: PropTypes.func.isRequired,
Expand All @@ -23,9 +22,9 @@ const searchDatabaseInputFieldProps = {
export default function SearchDatabaseInputField({
data,
loading,
searchQuery,
label,
combobox,
label,
searchQuery,
handleSelectValue,
fetchOptions,
comboboxOptions,
Expand Down

0 comments on commit 309dfd6

Please sign in to comment.