mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add type annotations for better clarity
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
parent
b0801c17fe
commit
a0e8db404a
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user