Removed test stuff

This commit is contained in:
pepper 2021-01-24 17:56:10 -05:00
parent 6f4981699e
commit b627aedf90

View File

@ -6,7 +6,6 @@ import filterFactory from "react-bootstrap-table2-filter";
import ToolkitProvider, { import ToolkitProvider, {
Search, Search,
CSVExport, CSVExport,
ColumnToggle,
} from "react-bootstrap-table2-toolkit"; } from "react-bootstrap-table2-toolkit";
// Main table for the Historical migrations tab, // Main table for the Historical migrations tab,
@ -78,11 +77,6 @@ const CompTable = (props) => {
sizePerPageRenderer, // A numeric array is also available. the purpose of above example is custom the text sizePerPageRenderer, // A numeric array is also available. the purpose of above example is custom the text
}; };
const updateCol = () => {
console.log(columns[0].hidden);
columns[0].hidden = true;
console.log(columns[0].hidden);
};
let columns = [ let columns = [
{ {
dataField: "domain", dataField: "domain",
@ -134,7 +128,6 @@ const CompTable = (props) => {
return ( return (
<div> <div>
<button onClick={updateCol}>Test</button>
{loading ? ( {loading ? (
<ToolkitProvider <ToolkitProvider
keyField="name" keyField="name"