diff --git a/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.test.tsx b/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.test.tsx index e79299080..046586a50 100644 --- a/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.test.tsx +++ b/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.test.tsx @@ -29,7 +29,6 @@ describe("Table query select Panel", () => { it("Should checked availableCheckbox by default", () => { const wrapper = mount(); expect(wrapper.find("#availableCheckbox").first().props()).toEqual({ - ariaPositionInSet: 0, id: "availableCheckbox", label: "Available Columns", checked: true, diff --git a/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.tsx b/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.tsx index 1b037adda..14d90f5eb 100644 --- a/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.tsx +++ b/src/Explorer/Panes/Tables/TableQuerySelectPanel/TableQuerySelectPanel.tsx @@ -1,7 +1,7 @@ import { Checkbox, Text } from "@fluentui/react"; import React, { FunctionComponent, useEffect, useState } from "react"; -import { useSidePanel } from "../../../../hooks/useSidePanel"; import { userContext } from "../../../../UserContext"; +import { useSidePanel } from "../../../../hooks/useSidePanel"; import * as Constants from "../../../Tables/Constants"; import QueryViewModel from "../../../Tables/QueryBuilder/QueryViewModel"; import { RightPaneForm, RightPaneFormProps } from "../../RightPaneForm/RightPaneForm"; @@ -128,9 +128,8 @@ export const TableQuerySelectPanel: FunctionComponent - {columnOptions.map((column, index) => { + {columnOptions.map((column) => { return ( ); })} diff --git a/src/Explorer/Panes/Tables/TableQuerySelectPanel/__snapshots__/TableQuerySelectPanel.test.tsx.snap b/src/Explorer/Panes/Tables/TableQuerySelectPanel/__snapshots__/TableQuerySelectPanel.test.tsx.snap index ad7c2346c..c3db51210 100644 --- a/src/Explorer/Panes/Tables/TableQuerySelectPanel/__snapshots__/TableQuerySelectPanel.test.tsx.snap +++ b/src/Explorer/Panes/Tables/TableQuerySelectPanel/__snapshots__/TableQuerySelectPanel.test.tsx.snap @@ -37,14 +37,12 @@ exports[`Table query select Panel should render Default properly 1`] = ` className="column-select-view" >