Skip to content

Commit

Permalink
Merge pull request #46 from ya-erm/dev
Browse files Browse the repository at this point in the history
Version 2.8.3
  • Loading branch information
ya-erm authored Jan 25, 2024
2 parents 8fb5ed6 + 30615e6 commit 3cfdd1f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "client",
"version": "2.8.2",
"version": "2.8.3",
"private": true,
"scripts": {
"dev": "vite dev",
Expand Down
2 changes: 1 addition & 1 deletion src/routes/transactions/form/TypeSwitch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<MultiSwitch
selected={options.find((option) => option.id === type)}
on:change={(e) => handleChange(e.detail)}
onChange={handleChange}
testId="TypeSwitch"
{options}
{disabled}
Expand Down
4 changes: 2 additions & 2 deletions src/routes/uikit/Switches.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<h2>MultiSwitch</h2>
<div class="flex-col gap-1 items-start">
<div>
<MultiSwitch options={options.slice(0, 2)} {selected} />
<MultiSwitch options={options.slice(0, 2)} {selected} onChange={(item) => (selected = item)} />
</div>
<div>
<MultiSwitch {options} {selected} />
<MultiSwitch {options} {selected} onChange={(item) => (selected = item)} />
</div>
</div>
2 changes: 1 addition & 1 deletion src/routes/v1/transactions/TypeSwitch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<MultiSwitch
selected={options.find((option) => option.id === type)}
on:change={(e) => handleChange(e.detail)}
onChange={handleChange}
testId="TypeSwitch"
{options}
{disabled}
Expand Down

1 comment on commit 3cfdd1f

@vercel
Copy link

@vercel vercel bot commented on 3cfdd1f Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.