Skip to content

Commit

Permalink
fix(openalex): Remove redundant state reset on button click
Browse files Browse the repository at this point in the history
  • Loading branch information
jerem1508 committed Nov 25, 2024
1 parent 3684514 commit 7748d85
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/src/pages/openalex-ror/results/views-selector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@ export default function OpenalexView({
<ModalFooter style={{ display: 'flex', justifyContent: 'space-between' }}>
<Button
onClick={() => {
setSortsAndFilters({
sortOnNumberOfRors: 'default',
showAffiliations: 'all',
rorCountry: 'all',
});
setSelectSortOnNumberOfRors('default');
setSelectShowAffiliations('all');
setSelectRorCountry('all');
Expand Down

0 comments on commit 7748d85

Please sign in to comment.