Skip to content

Commit

Permalink
vrt
Browse files Browse the repository at this point in the history
  • Loading branch information
lelemm committed Sep 4, 2024
1 parent e315330 commit edca1fa
Show file tree
Hide file tree
Showing 20 changed files with 6 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions packages/desktop-client/src/components/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,11 @@ export const Cell = forwardRef<HTMLDivElement, CellProps>(function Cell(
type RowProps = ComponentProps<typeof View> & {
inset?: number;
collapsed?: boolean;
testId?: string;
};

export const Row = forwardRef<HTMLDivElement, RowProps>(function Row(
{ inset = 0, collapsed, children, height, style, ...nativeProps },
{ inset = 0, collapsed, children, height, style, testId, ...nativeProps },
ref,
) {
return (
Expand All @@ -316,7 +318,7 @@ export const Row = forwardRef<HTMLDivElement, RowProps>(function Row(
...(collapsed && { marginTop: -1 }),
...style,
}}
data-testid="row"
data-testid={testId ?? "row"}

Check warning on line 321 in packages/desktop-client/src/components/table.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `"row"` with `'row'`
{...nativeProps}
>
{inset !== 0 && <Field width={inset} />}
Expand Down Expand Up @@ -813,6 +815,7 @@ export function TableHeader({
>
<Row
collapsed={true}
testId='row-header'

Check warning on line 818 in packages/desktop-client/src/components/table.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `'row-header'` with `"row-header"`
{...rowProps}
style={{
color: theme.tableHeaderText,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ const TransactionHeader = memo(
return (
<Row
ref={rowRef}
testId='row-header'

Check warning on line 212 in packages/desktop-client/src/components/transactions/TransactionsTable.jsx

View workflow job for this annotation

GitHub Actions / lint

Replace `'row-header'` with `"row-header"`
style={{
fontWeight: 300,
zIndex: 200,
Expand Down

0 comments on commit edca1fa

Please sign in to comment.