mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-26 13:08:28 +00:00
show repls in community bakery
This commit is contained in:
parent
6224cd40d4
commit
0cfec3a7bd
@ -6,6 +6,7 @@ import { PatternLabel } from '@src/repl/panel/PatternsTab';
|
|||||||
function PatternList({ patterns }) {
|
function PatternList({ patterns }) {
|
||||||
return (
|
return (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
|
{/* <MiniRepl tunes={patterns.map((pat) => pat.code.trim())} /> */}
|
||||||
{patterns.map((pat) => (
|
{patterns.map((pat) => (
|
||||||
<div key={pat.id}>
|
<div key={pat.id}>
|
||||||
<div className="flex justify-between not-prose pb-2">
|
<div className="flex justify-between not-prose pb-2">
|
||||||
@ -15,8 +16,7 @@ function PatternList({ patterns }) {
|
|||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
{/* <MiniRepl tune={pat.code.trim()} /> */}
|
<MiniRepl tune={pat.code.trim()} maxHeight={300} />
|
||||||
{/* <pre>{JSON.stringify(pat)}</pre> */}
|
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user