diff --git a/src/components/ReactTable4/BasicTable.js b/src/components/ReactTable4/BasicTable.js index 38f7b2e..23beebf 100644 --- a/src/components/ReactTable4/BasicTable.js +++ b/src/components/ReactTable4/BasicTable.js @@ -9,7 +9,7 @@ import { ColumnSearch } from "./ColumnSearch"; import { GlobalFilter } from "./GlobalFilter"; import { ToggleColumns } from "./ToggleColumns"; -import { COLUMNS } from "./columns"; +import { COLUMNS } from "./COLUMNS"; import { Pagination } from "./Pagination"; import { GoToPage } from "./GoToPage"; import { Settings } from "./Settings"; @@ -105,13 +105,14 @@ const BasicTable = ({ ); const { globalFilter, pageIndex, pageSize } = state; + return ( <> {/* toggle columns */} - + /> */}
{/* right box */}
@@ -125,7 +126,7 @@ const BasicTable = ({ {/* left box */} {activeTab == 0 ? (
{/* search box */} @@ -161,6 +162,7 @@ const BasicTable = ({
) : null}
+ {/* table */} {activeTab == 0 ? ( <> { e.preventDefault();