fix(drill-detail): prettier + fix rowLimitOptions type error

- Prettier collapses import line in test
- rowLimitOptions is optional so coerce to [] for Select

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
alex-poor
2026-04-14 22:40:41 +12:00
parent b74cc05f45
commit 15be40b94a
2 changed files with 2 additions and 4 deletions

View File

@@ -17,9 +17,7 @@
* under the License.
*/
import { render, screen, userEvent } from 'spec/helpers/testing-library';
import TableControls, {
TableControlsProps,
} from './DrillDetailTableControls';
import TableControls, { TableControlsProps } from './DrillDetailTableControls';
const setFilters = jest.fn();
const onReload = jest.fn();

View File

@@ -105,7 +105,7 @@ export const TableControls = ({
<Select
value={rowLimit}
onChange={onRowLimitChange}
options={rowLimitOptions}
options={rowLimitOptions ?? []}
size="small"
css={css`
min-width: 110px;