Skip to content

Commit

Permalink
docs(sandpack): update code file snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir committed Jan 2, 2025
1 parent d6e00a4 commit 57c352c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions documentation/src/components/sandpack/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,12 @@ const SandpackHiddenSnapshot = ({
<section className="hidden max-w-0 max-h-0">
<h6>Code Example</h6>
{/* {dependencyList} */}
<div>{"Code Files"}</div>
{visibleFiles.map((f) => (
<div key={f}>
<div>{`File: ${f}`}</div>
<div>Content:</div>
<pre>{getFileContent(files[f])}</pre>
<div data-filename={f} key={f}>
<pre>
{`// file: ${f} \n`}
{getFileContent(files[f])}
</pre>
</div>
))}
</section>
Expand Down

0 comments on commit 57c352c

Please sign in to comment.