Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Set current team name as a default

Jakub Novakbd290d2075af
diff --git a/apps/docs/src/components/Dashboard/Team.tsx b/apps/docs/src/components/Dashboard/Team.tsx
index 6372303e4..bdbcf7a24 100644
--- a/apps/docs/src/components/Dashboard/Team.tsx
+++ b/apps/docs/src/components/Dashboard/Team.tsx
@@ -133,6 +133,7 @@ export const TeamContent = ({ team, user, teams, currentApiKey, setTeams, setCur
type="text"
className="w-1/2 md:w-1/3 border border-white/10 text-sm focus:outline-none outline-none rounded-md p-2"
placeholder={team.name}
+ value={teamName}
onChange={(e) => {
e.preventDefault()
setTeamName(e.target.value)