Remove old TODO comments
This commit is contained in:
parent
b6b87c8304
commit
c2396e8881
@ -32,7 +32,7 @@ interface DataTitleCopyableProps {
|
||||
copy?: any; // TODO: type should be CopyProps, but that clashes with propTypes in some obscure way
|
||||
}
|
||||
|
||||
const DataTitleCopyable: React.FunctionComponent<DataTitleCopyableProps> = (props) => { // TODO: remove any
|
||||
const DataTitleCopyable: React.FunctionComponent<DataTitleCopyableProps> = (props) => {
|
||||
return (
|
||||
<div className="data-title">
|
||||
{ props.tooltip? <Tooltip text={ props.tooltip } /> : null }
|
||||
|
@ -47,7 +47,7 @@ interface CopyProps {
|
||||
* @param WrappedComponent
|
||||
*/
|
||||
const withCopyEdit = (WrappedComponent) => {
|
||||
return class DataContainer extends React.Component<DataContainerProps, DataContainerState> { // TODO: add proper types
|
||||
return class DataContainer extends React.Component<DataContainerProps, DataContainerState> {
|
||||
static displayName = 'DataContainer';
|
||||
|
||||
static propTypes = { // TODO: generate propTypes from TS
|
||||
|
@ -32,7 +32,7 @@ interface ColouringMapState {
|
||||
/**
|
||||
* Map area
|
||||
*/
|
||||
class ColouringMap extends Component<ColouringMapProps, ColouringMapState> { // TODO: add proper types
|
||||
class ColouringMap extends Component<ColouringMapProps, ColouringMapState> {
|
||||
static propTypes = { // TODO: generate propTypes from TS
|
||||
building: PropTypes.object,
|
||||
mode: PropTypes.string,
|
||||
|
Loading…
Reference in New Issue
Block a user