Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jnumainville committed Jan 3, 2024
1 parent 55d268e commit 9dfe7a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/ui/src/js/src/UITable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { useApi } from '@deephaven/jsapi-bootstrap';
import type { Table } from '@deephaven/jsapi-types';
import Log from '@deephaven/log';
import { UITableProps } from './UITableUtils';
import { View } from '@adobe/react-spectrum';

Check failure on line 14 in plugins/ui/src/js/src/UITable.tsx

View workflow job for this annotation

GitHub Actions / test-js / unit

`@adobe/react-spectrum` import should occur before import of `./UITableUtils`

Check warning on line 14 in plugins/ui/src/js/src/UITable.tsx

View workflow job for this annotation

GitHub Actions / test-js / unit

'View' is defined but never used

Check failure on line 14 in plugins/ui/src/js/src/UITable.tsx

View workflow job for this annotation

GitHub Actions / test-js / unit

`@adobe/react-spectrum` import should occur before import of `./UITableUtils`

Check warning on line 14 in plugins/ui/src/js/src/UITable.tsx

View workflow job for this annotation

GitHub Actions / test-js / unit

'View' is defined but never used

const log = Log.module('@deephaven/js-plugin-ui/UITable');

Expand All @@ -25,7 +26,7 @@ function UITable({
const dh = useApi();
const [model, setModel] = useState<IrisGridModel>();
const [columns, setColumns] = useState<Table['columns']>();
const [utils] = useState(new IrisGridUtils(dh));
const utils = useMemo(() => new IrisGridUtils(dh), [dh]);

const hydratedSorts = useMemo(() => {
if (sorts !== undefined && columns !== undefined) {
Expand Down

0 comments on commit 9dfe7a9

Please sign in to comment.