mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
This reverts commit 9f01a7fdf8.
This commit is contained in:
@@ -35,8 +35,8 @@ const propTypes = {
|
||||
choices: PropTypes.oneOfType([
|
||||
PropTypes.arrayOf(PropTypes.array),
|
||||
PropTypes.func,
|
||||
]),
|
||||
schemes: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),
|
||||
]).isRequired,
|
||||
schemes: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
||||
isLinear: PropTypes.bool,
|
||||
};
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ export const DEFAULT_VIEWPORT = {
|
||||
const PARAMS = ['longitude', 'latitude', 'zoom', 'bearing', 'pitch'];
|
||||
|
||||
const propTypes = {
|
||||
onChange: PropTypes.func,
|
||||
onChange: PropTypes.func.isRequired,
|
||||
value: PropTypes.shape({
|
||||
longitude: PropTypes.number,
|
||||
latitude: PropTypes.number,
|
||||
|
||||
Reference in New Issue
Block a user