Skip to content

Commit b362811

Browse files
committed
Fix site
1 parent e711909 commit b362811

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

site/src/components/Resources/AgentStatus.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Link from "@material-ui/core/Link"
1919
// connected:ready, connected:shutting_down, connected:shutdown_timeout,
2020
// connected:shutdown_error, connected:off.
2121

22-
const ReadyLifeCycle: React.FC = () => {
22+
const ReadyLifecycle: React.FC = () => {
2323
const styles = useStyles()
2424
const { t } = useTranslation("workspacePage")
2525

@@ -234,7 +234,7 @@ const ShutdownErrorLifecycle: React.FC<{
234234
)
235235
}
236236

237-
const OffLifeCycle: React.FC = () => {
237+
const OffLifecycle: React.FC = () => {
238238
const styles = useStyles()
239239
const { t } = useTranslation("workspacePage")
240240

@@ -260,12 +260,12 @@ const ConnectedStatus: React.FC<{
260260
// release indicating startup script behavior has changed.
261261
// https://github.com/coder/coder/issues/5749
262262
if (agent.login_before_ready) {
263-
return <ReadyLifeCycle />
263+
return <ReadyLifecycle />
264264
}
265265
return (
266266
<ChooseOne>
267267
<Cond condition={agent.lifecycle_state === "ready"}>
268-
<ReadyLifeCycle />
268+
<ReadyLifecycle />
269269
</Cond>
270270
<Cond condition={agent.lifecycle_state === "start_timeout"}>
271271
<StartTimeoutLifecycle agent={agent} />
@@ -274,7 +274,7 @@ const ConnectedStatus: React.FC<{
274274
<StartErrorLifecycle agent={agent} />
275275
</Cond>
276276
<Cond condition={agent.lifecycle_state === "shutting_down"}>
277-
<ShuttingDownLifecycle agent={agent} />
277+
<ShuttingDownLifecycle />
278278
</Cond>
279279
<Cond condition={agent.lifecycle_state === "shutdown_timeout"}>
280280
<ShutdownTimeoutLifecycle agent={agent} />
@@ -283,7 +283,7 @@ const ConnectedStatus: React.FC<{
283283
<ShutdownErrorLifecycle agent={agent} />
284284
</Cond>
285285
<Cond condition={agent.lifecycle_state === "off"}>
286-
<OffLifeCycle />
286+
<OffLifecycle />
287287
</Cond>
288288
<Cond>
289289
<StartingLifecycle />

0 commit comments

Comments
 (0)