Fixed button style by changing to proper MUI Button

This commit is contained in:
2022-08-23 09:01:12 -05:00
parent 2b47031f64
commit 84b1c6f610

View File

@ -691,15 +691,11 @@ function EntityList({table}: Props): JSX.Element
The
<strong>{` ${selectedIds.length.toLocaleString()} `}</strong>
records on this page are selected.
<button
type="button"
onClick={() => setSelectFullFilterState("filter")}
className="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButtonBase-root css-knwngq-MuiButtonBase-root-MuiButton-root"
>
<Button onClick={() => setSelectFullFilterState("filter")}>
Select all
{` ${totalRecords.toLocaleString()} `}
records matching this query
</button>
</Button>
</div>
)
}
@ -709,15 +705,11 @@ function EntityList({table}: Props): JSX.Element
All
<strong>{` ${totalRecords.toLocaleString()} `}</strong>
records matching this query are selected.
<button
type="button"
onClick={() => setSelectFullFilterState("checked")}
className="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButtonBase-root css-knwngq-MuiButtonBase-root-MuiButton-root"
>
<Button onClick={() => setSelectFullFilterState("checked")}>
Select the
{` ${selectedIds.length.toLocaleString()} `}
records on this page
</button>
</Button>
</div>
)
}