Skip to content

fix: update a <Debug /> code snippet to use spread syntax#14115

Merged
ArmandPhilippot merged 2 commits into
mainfrom
armand/fix-debug-snippet
Jun 22, 2026
Merged

fix: update a <Debug /> code snippet to use spread syntax#14115
ArmandPhilippot merged 2 commits into
mainfrom
armand/fix-debug-snippet

Conversation

@ArmandPhilippot

Copy link
Copy Markdown
Member

Description (required)

<Debug {{answer: sum(2, 4)}} /> is not equivalent to the other examples and the editor is complaining. We should use the spread syntax here!

The credit goes to @Princesseuh and her crabs!

Related issues & labels (optional)

  • Suggested label: code snippet update

@ArmandPhilippot ArmandPhilippot added the code snippet update Updates a code sample: typo, outdated code etc. label Jun 22, 2026
@astrobot-houston

astrobot-houston commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/troubleshooting.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

Preview deployment

✅ Deployment complete!

@ArmandPhilippot ArmandPhilippot merged commit e48d18e into main Jun 22, 2026
9 checks passed
@ArmandPhilippot ArmandPhilippot deleted the armand/fix-debug-snippet branch June 22, 2026 12:59
HiDeoo added a commit that referenced this pull request Jun 23, 2026
* main: (23 commits)
  i18n(ru): update `guides/build-with-ai.mdx` (#13950)
  i18n(ru): add `guides/typescript.mdx` (#13946)
  i18n(ru): update `astro-courses.mdx` (#13947)
  i18n(ja): update `integrations-guide/vercel.mdx` (#14008)
  i18n(pt-br): update `astro-syntax.mdx` translation (#14052)
  i18n(ru): update `i18n/ru.yml` and `nav/ru.ts` (#13948)
  docs(ar): update on-demand deploy tag (#14099)
  i18n(ko-KR): update `markdown-content`, `mdx` (#14121)
  i18n(ko-KR): update multiple pages (#14120)
  i18n(ko-KR): update `middleware.mdx` (#14107)
  i18n(fr): update `api-reference.mdx` (#14124)
  Fix link check failures on PRs (#14118)
  i18n(ja): update `contribute.mdx`, `getting-started.mdx`, and `upgrade-astro.mdx` (#14119)
  i18n(fr): update top level pages (contribute, getting started, upgrade) (#14123)
  Fix outdated link in 'Migrate from Hugo' guide (#14122)
  ci: update docs contributors (#14109)
  Remove Juno from deployment docs (#14114)
  fix: update a `<Debug />` code snippet to use spread syntax (#14115)
  ci: update configuration reference docs (#14116)
  fix: replace v7 link in the upgrade guide aside (#14113)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code snippet update Updates a code sample: typo, outdated code etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants