Skip to content

Commit 782ff18

Browse files
committed
Changes after review
Signed-off-by: Maayan Hadasi <[email protected]>
1 parent c578186 commit 782ff18

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

client/src/app/pages/migration-waves/migration-waves.tsx

+3-7
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ export const MigrationWaves: React.FC = () => {
8686

8787
const [isToolbarKebabOpen, setIsToolbarKebabOpen] =
8888
React.useState<boolean>(false);
89-
const [isRowDropdownOpen, setIsRowDropdownOpen] = React.useState<
90-
number | null
91-
>(null);
9289

9390
const [migrationWaveModalState, setWaveModalState] = React.useState<
9491
"create" | MigrationWave | null
@@ -390,7 +387,7 @@ export const MigrationWaves: React.FC = () => {
390387
}
391388
numRenderedColumns={numRenderedColumns}
392389
>
393-
{currentPageItems?.map((migrationWave, rowIndex) => {
390+
{currentPageItems?.map((migrationWave, rowIndex) => (
394391
<Tbody
395392
key={migrationWave.id}
396393
isExpanded={isCellExpanded(migrationWave)}
@@ -468,7 +465,6 @@ export const MigrationWaves: React.FC = () => {
468465
</Td>
469466
<Td isActionCell id="row-actions">
470467
<ActionsColumn
471-
open={isRowDropdownOpen === migrationWave.id}
472468
items={[
473469
{
474470
isAriaDisabled:
@@ -566,8 +562,8 @@ export const MigrationWaves: React.FC = () => {
566562
</Td>
567563
</Tr>
568564
) : null}
569-
</Tbody>;
570-
})}
565+
</Tbody>
566+
))}
571567
</ConditionalTableBody>
572568
</Table>
573569
<SimplePagination

0 commit comments

Comments
 (0)