From fc044f9bd897af0740929ed61656da94cab4e4b9 Mon Sep 17 00:00:00 2001 From: gustaff-weldon Date: Wed, 25 May 2022 12:58:18 +0200 Subject: [PATCH] [FIX] Replace references to non-existent PropTypes.function with PropTypes.func --- src/victory-shared-events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/victory-shared-events.js b/src/victory-shared-events.js index 956e192d8..c110269ef 100644 --- a/src/victory-shared-events.js +++ b/src/victory-shared-events.js @@ -57,7 +57,7 @@ export default class VictorySharedEvents extends React.Component { ), externalEventMutations: PropTypes.arrayOf( PropTypes.shape({ - callback: PropTypes.function, + callback: PropTypes.func, childName: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), eventKey: PropTypes.oneOfType([ PropTypes.array, @@ -67,7 +67,7 @@ export default class VictorySharedEvents extends React.Component { ]), PropTypes.string ]), - mutation: PropTypes.function, + mutation: PropTypes.func, target: PropTypes.oneOfType([PropTypes.string, PropTypes.array]) }) ),