mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Removed prop-types.
This commit is contained in:
parent
c815e7cd51
commit
d4437427c4
9 changed files with 11 additions and 41 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { useState, useMemo } from 'react';
|
||||
import { useRouter } from 'next/router';
|
||||
import PropTypes from 'prop-types';
|
||||
import ReactTooltip from 'react-tooltip';
|
||||
import { ComposableMap, Geographies, Geography, ZoomableGroup } from 'react-simple-maps';
|
||||
import classNames from 'classnames';
|
||||
|
|
@ -89,15 +88,4 @@ function WorldMap({ data, className }) {
|
|||
);
|
||||
}
|
||||
|
||||
WorldMap.propTypes = {
|
||||
data: PropTypes.arrayOf(
|
||||
PropTypes.shape({
|
||||
x: PropTypes.string,
|
||||
y: PropTypes.number,
|
||||
z: PropTypes.number,
|
||||
}),
|
||||
),
|
||||
className: PropTypes.string,
|
||||
};
|
||||
|
||||
export default WorldMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue