Skip to content

Commit

Permalink
resolve some unexpected prop warnings (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesscottbrown authored Jan 6, 2025
1 parent 2e42c23 commit 4c54949
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/tables/src/lib/core/renderers/BarCell.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
let f = format(formatString);
$: f = format(formatString);
// This suppresses warnings due to the RowRenderer providing props that aren't used.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
$$restProps;
</script>

<div class="py-1 flex items-center h-full">
Expand Down
4 changes: 4 additions & 0 deletions packages/tables/src/lib/core/renderers/CategoricalTick.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
let l;
$: l = posScale(value);
// This suppresses warnings due to the RowRenderer providing props that aren't used.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
$$restProps;
</script>

<div
Expand Down

0 comments on commit 4c54949

Please sign in to comment.