Skip to content

Conversation

@stnguyen90
Copy link
Contributor

What does this PR do?

The string wasn't interpolating target.

Test Plan

Manual

Related PRs and Issues

None

Have you read the Contributing Guidelines on issues?

Yes

@vercel
Copy link

vercel bot commented Oct 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
console ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 0:36am
console-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 0:36am
console-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 0:36am
console-preview-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 0:36am

on:click|preventDefault
on:click={track}
aria-label={`create {target}`}>
aria-label={`create ${target}`}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Svelte has a more straightforward syntax for interpolating on HTML attributes

Suggested change
aria-label={`create ${target}`}>
aria-label="create {target}">

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for the tip! I've updated the attribute as suggested.

The string wasn't interpolating target.
@TorstenDittmann TorstenDittmann merged commit 4e39960 into main Nov 2, 2023
@TorstenDittmann TorstenDittmann deleted the fix-empty-component branch November 2, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants