make export button enabled by default (for some reason, state is sticking and it's never getting enabled)

This commit is contained in:
2023-06-24 18:53:29 -05:00
parent 5ce5f84752
commit 09efdfd49e

View File

@ -42,7 +42,7 @@ TableWidget.defaultProps = {
function TableWidget(props: Props): JSX.Element
{
const [isExportDisabled, setIsExportDisabled] = useState(true);
const [isExportDisabled, setIsExportDisabled] = useState(false); // hmm, would like true here, but it broke...
const rows = props.widgetData?.rows;
const columns = props.widgetData?.columns;