Remove old TODO comments

This commit is contained in:
Maciej Ziarkowski 2019-10-17 17:07:34 +01:00
parent b6b87c8304
commit c2396e8881
3 changed files with 3 additions and 3 deletions

View File

@ -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 }

View File

@ -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

View File

@ -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,