Skip to content

Commit 4fbcfb0

Browse files
committed
Remove references to HA table
1 parent d318cd8 commit 4fbcfb0

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

site/src/pages/DeploySettingsPage/NetworkSettingsPage.tsx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ import TableCell from "@material-ui/core/TableCell"
44
import TableContainer from "@material-ui/core/TableContainer"
55
import TableHead from "@material-ui/core/TableHead"
66
import TableRow from "@material-ui/core/TableRow"
7-
import { useMachine } from "@xstate/react"
87
import {
9-
Badges,
108
DisabledBadge,
119
EnabledBadge,
12-
EnterpriseBadge,
1310
} from "components/DeploySettingsLayout/Badges"
1411
import { useDeploySettings } from "components/DeploySettingsLayout/DeploySettingsLayout"
1512
import { Header } from "components/DeploySettingsLayout/Header"
@@ -18,14 +15,11 @@ import {
1815
OptionName,
1916
OptionValue,
2017
} from "components/DeploySettingsLayout/Option"
21-
import { ReplicasTable } from "components/ReplicasTable/ReplicasTable"
2218
import { Stack } from "components/Stack/Stack"
2319
import React from "react"
24-
import { highAvailabilityMachine } from "xServices/deploymentFlags/highAvailabilityMachine"
2520

2621
const NetworkSettingsPage: React.FC = () => {
2722
const { deploymentFlags } = useDeploySettings()
28-
const [state] = useMachine(highAvailabilityMachine)
2923

3024
return (
3125
<Stack direction="column" spacing={6}>
@@ -120,26 +114,6 @@ const NetworkSettingsPage: React.FC = () => {
120114
</Table>
121115
</TableContainer>
122116
</div>
123-
124-
<div>
125-
<Header
126-
title="High Availability"
127-
secondary
128-
description="Deploy Coder multi regionally for high availability. Only active if more than one replica exists."
129-
docsHref="https://coder.com/docs/coder-oss/latest/admin/auth#openid-connect-with-google"
130-
/>
131-
132-
<Badges>
133-
{deploymentFlags.derp_server_relay_address.value ? (
134-
<EnabledBadge />
135-
) : (
136-
<DisabledBadge />
137-
)}
138-
<EnterpriseBadge />
139-
</Badges>
140-
141-
<ReplicasTable replicas={state.context.replicas || []} />
142-
</div>
143117
</Stack>
144118
)
145119
}

0 commit comments

Comments
 (0)