Skip to content

Commit

Permalink
UIEUS-355-avoid-defaultProps
Browse files Browse the repository at this point in the history
  • Loading branch information
elsenhans committed Jun 13, 2024
1 parent d1ba1f0 commit b9e1974
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/routes/UDPViewRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { MAX_FAILED_ATTEMPTS } from '../util/constants';

function UDPViewRoute(props) {
const {
handlers,
handlers = {},
mutator,
resources,
stripes,
Expand Down Expand Up @@ -185,10 +185,6 @@ UDPViewRoute.propTypes = {
tagsEnabled: PropTypes.bool,
};

UDPViewRoute.defaultProps = {
handlers: {},
};

UDPViewRoute.manifest = Object.freeze({
usageDataProvider: {
type: 'okapi',
Expand Down

0 comments on commit b9e1974

Please sign in to comment.