feat: add missing propTypes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import * as React from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
@@ -100,3 +101,7 @@ export const PaddleProvider = (props) => {
|
||||
<PaddleContext.Provider value={value}>{children}</PaddleContext.Provider>
|
||||
);
|
||||
};
|
||||
|
||||
PaddleProvider.propTypes = {
|
||||
children: PropTypes.node.isRequired,
|
||||
};
|
||||
|
Reference in New Issue
Block a user