An open-source, faster Devin alternative
TypeScript
fix(web): render SDK snippets in Templates empty state as code chips
Igor Zalutski1254f3873d39
diff --git a/web/src/pages/Templates.tsx b/web/src/pages/Templates.tsxindex 6db2a982..2598d2be 100644--- a/web/src/pages/Templates.tsx+++ b/web/src/pages/Templates.tsx@@ -150,7 +150,19 @@ export default function Templates() {<EmptyStateicon={Package}title="No templates yet"- description="Create them with the SDK — Image.base().aptInstall([...]) — or snapshots.create()."+ description={+ <>+ Create one with the SDK using{' '}+ <code className="bg-muted text-foreground rounded px-1.5 py-0.5 font-mono text-xs">+ Image.base().aptInstall([…])+ </code>{' '}+ or{' '}+ <code className="bg-muted text-foreground rounded px-1.5 py-0.5 font-mono text-xs">+ snapshots.create()+ </code>+ .+ </>+ }/>}/>