Skip to content

fix: add missing CodeSdkTabs component from miden-tutorials #168

@Keinberger

Description

@Keinberger

The deploy workflow (run #22185645208) fails at the "Build site" step after 0xMiden/tutorials#159 was merged. The 4 new web-client tutorial pages import CodeSdkTabs from @site/src/components, but that component doesn't exist in this repo.

The @site alias resolves to the miden-docs repo root, so @site/src/components points to src/components/index.ts here — which only exports CodeTabs. The CodeSdkTabs files do get copied into docs/builder/develop/tutorials/components/ by the aggregation step, but that path is unreachable via @site.

The build logs confirm this:

  • export 'CodeSdkTabs' was not found in '@site/src/components' (possible exports: CodeTabs)
  • SSG fails for all 4 tutorial pages that use the component

Fix: Copy CodeSdkTabs.tsx and CodeSdkTabs.module.css from miden-tutorials into src/components/ and re-export from src/components/index.ts. This mirrors how CodeTabs already works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions