Skip to content

fix: add missing useState import and remove duplicate ddClient in backend extension tutorial#25305

Open
jasdeepbhalla wants to merge 1 commit into
docker:mainfrom
jasdeepbhalla:fix/backend-extension-usestate-import
Open

fix: add missing useState import and remove duplicate ddClient in backend extension tutorial#25305
jasdeepbhalla wants to merge 1 commit into
docker:mainfrom
jasdeepbhalla:fix/backend-extension-usestate-import

Conversation

@jasdeepbhalla

Copy link
Copy Markdown
Contributor

Summary

  • Add useState to the React import in the backend extension tutorial code example — it was used but missing from the import, causing a compilation error
  • Remove the duplicate createDockerDesktopClient() call inside App()ddClient is already declared at module scope

Issue

Fixes #25192

@netlify

netlify Bot commented Jun 8, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 40a76b0
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a27323aaab82d00082857ac
😎 Deploy Preview https://deploy-preview-25305--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/extensions Relates to Docker Extensions label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/extensions Relates to Docker Extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs-scanner] Missing useState import in backend extension React example

1 participant