Skip to content

Commit

Permalink
docs: update two small mistakes on data-table walkthrough (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascostadev authored Feb 9, 2024
1 parent 25979e0 commit 1a3493a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/www/src/content/components/data-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ We can add pagination controls to our table using the `<Button />` component and
<!-- .... -->
</Table.Root>
</div>
<div class="flex items-center justify-end space-x-2 py-4">
<div class="flex items-center justify-end space-x-4 py-4">
<Button
variant="outline"
size="sm"
Expand Down Expand Up @@ -1189,7 +1189,7 @@ We'll start by creating a new component called `data-table-checkbox.svelte` whic

Next, we'll enable the `addSelectedRows` plugin and import the `<Checkbox />` component we just created.

```svelte showLineNumbers title="routes/payments/data-table.svelte" {13,22,48,54-67,119,125}
```svelte showLineNumbers title="routes/payments/data-table.svelte" {13,22,48,54-67,119,125,130}
<script lang="ts">
import {
createTable,
Expand Down

0 comments on commit 1a3493a

Please sign in to comment.