fix: examples layout

This commit is contained in:
Felix Roos 2023-11-17 20:54:48 +01:00
parent c6f89431d9
commit 34c1f3c7de

View File

@ -46,18 +46,17 @@ export function WelcomeTab({ context }) {
to ensure ongoing development 💖 to ensure ongoing development 💖
</p> </p>
<h2 className="text-xl mb-2">examples</h2> <h2 className="text-xl mb-2">examples</h2>
{Object.entries(tunes).map(([key, tune]) => ( <div className="not-prose">
<a {Object.entries(tunes).map(([key, tune]) => (
key={key} <a
className="mr-4 hover:opacity-50 cursor-pointer inline-block" key={key}
onClick={() => { className="mr-4 hover:opacity-50 cursor-pointer inline-block"
console.log('clikkk', tune); onClick={() => context.handleUpdate(tune)}
context.handleUpdate(tune); >
}} {key}
> </a>
{key} ))}
</a> </div>
))}
</div> </div>
); );
} }