Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Oct 30, 2024
1 parent 56f0a27 commit 0b70f54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion sites/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"embla-carousel-autoplay": "8.1.6",
"embla-carousel-svelte": "8.1.6",
"estree-walker": "^3.0.3",
"formsnap": "2.0.0-next.0",
"formsnap": "2.0.0-next.1",
"hast-util-to-html": "^9.0.1",
"is-reference": "^3.0.2",
"lodash.template": "^4.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@
<Form.Label>Email</Form.Label>
<Select.Root type="single" bind:value={$formData.email} name={props.name}>
<Select.Trigger {...props}>
{$formData.email ?? "Select a verified email to display"}
{$formData.email && $formData.email.length
? $formData.email
: "Select a verified email to display"}
</Select.Trigger>
<Select.Content>
<Select.Item value="m@example.com" label="m@example.com" />
Expand Down

0 comments on commit 0b70f54

Please sign in to comment.