add type annotations for better clarity

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
Sebastian Malton committed 2020-09-04 11:30:23 -04:00
1 parent b0801c17fe
commit a0e8db404a
1 file changed
+2 -2
@@ -122,14 +122,14 @@ export class ClustersMenu extends React.Component<Props> {
<div className="clusters flex column gaps">
<DragDropContext onDragEnd={this.swapClusterIconOrder}>
<Droppable droppableId="cluster-menu" type="CLUSTER">
{(provided) => (
{(provided: DroppableProvided) => (
<div
ref={provided.innerRef}
{...provided.droppableProps}
>
{clusters.map((cluster, index) => (
<Draggable draggableId={cluster.id} index={index} key={cluster.id}>
{(provided) => (
{(provided: DraggableProvided) => (
<div
ref={provided.innerRef}
{...provided.draggableProps}