mirror of https://github.com/coder/coder.git
26 lines
746 B
TypeScript
26 lines
746 B
TypeScript
import { useDeploySettings } from "components/DeploySettingsLayout/DeploySettingsLayout"
|
|
import { FC } from "react"
|
|
import { Helmet } from "react-helmet-async"
|
|
import { pageTitle } from "util/page"
|
|
import { GeneralSettingsPageView } from "./GeneralSettingsPageView"
|
|
|
|
const GeneralSettingsPage: FC = () => {
|
|
const { deploymentValues, deploymentDAUs, getDeploymentDAUsError } =
|
|
useDeploySettings()
|
|
|
|
return (
|
|
<>
|
|
<Helmet>
|
|
<title>{pageTitle("General Settings")}</title>
|
|
</Helmet>
|
|
<GeneralSettingsPageView
|
|
deploymentOptions={deploymentValues.options}
|
|
deploymentDAUs={deploymentDAUs}
|
|
getDeploymentDAUsError={getDeploymentDAUsError}
|
|
/>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default GeneralSettingsPage
|