Skip to content

Commit a63145f

Browse files
committed
Fixed type error (check this)
1 parent fb93042 commit a63145f

File tree

1 file changed

+10
-1
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam

1 file changed

+10
-1
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam/route.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,16 @@ export default function Page() {
168168
<span>Run #{run.number}</span>
169169
<EnvironmentLabel
170170
size="large"
171-
environment={run.environment}
171+
environment={
172+
run.environment as {
173+
id: string;
174+
organizationId: string;
175+
type: RuntimeEnvironmentType;
176+
slug: string;
177+
userId: string;
178+
userName?: string;
179+
}
180+
}
172181
userName={usernameForEnv}
173182
/>
174183
</div>

0 commit comments

Comments
 (0)