File tree Expand file tree Collapse file tree 8 files changed +11
-12
lines changed Expand file tree Collapse file tree 8 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ resource "docker_volume" "coder_volume" {
37
37
}
38
38
39
39
resource "docker_container" "workspace" {
40
- count = data. coder_workspace . me . start_count
40
+ count = data. coder_workspace . me . start_count
41
41
image = var. docker_image
42
42
name = " coder-${ data . coder_workspace . me . owner } -${ data . coder_workspace . me . name } -root"
43
43
dns = [" 1.1.1.1" ]
Original file line number Diff line number Diff line change 1
1
import React from "react"
2
2
import { Route , Routes } from "react-router-dom"
3
- import { RequireAuth } from "./components/Page/RequireAuth"
4
3
import { AuthAndFrame } from "./components/AuthAndFrame/AuthAndFrame"
4
+ import { RequireAuth } from "./components/Page/RequireAuth"
5
5
import { PreferencesLayout } from "./components/Preferences/Layout"
6
6
import { IndexPage } from "./pages"
7
7
import { NotFoundPage } from "./pages/404"
Original file line number Diff line number Diff line change 1
1
import { screen } from "@testing-library/react"
2
2
import React from "react"
3
- import { NavbarView } from "./NavbarView"
4
3
import { render } from "../../../testHelpers"
5
4
import { MockUser } from "../../../testHelpers/entities"
5
+ import { NavbarView } from "./NavbarView"
6
6
7
7
describe ( "NavbarView" , ( ) => {
8
8
const noop = ( ) => {
Original file line number Diff line number Diff line change 1
1
import { screen } from "@testing-library/react"
2
2
import React from "react"
3
- import { Language , UserDropdown , UserDropdownProps } from "./UsersDropdown"
4
3
import { render } from "../../../testHelpers"
5
4
import { MockUser } from "../../../testHelpers/entities"
5
+ import { Language , UserDropdown , UserDropdownProps } from "./UsersDropdown"
6
6
7
7
const renderAndClick = async ( props : Partial < UserDropdownProps > = { } ) => {
8
8
render ( < UserDropdown user = { props . user ?? MockUser } onSignOut = { props . onSignOut ?? jest . fn ( ) } /> )
Original file line number Diff line number Diff line change 1
1
import { makeStyles } from "@material-ui/core/styles"
2
2
import React , { useCallback , useState } from "react"
3
+ import { useCustomEvent } from "../../hooks/events"
4
+ import { CustomEventListener } from "../../util/events"
5
+ import { ErrorIcon } from "../Icons/ErrorIcon"
6
+ import { Typography } from "../Typography/Typography"
7
+ import { EnterpriseSnackbar } from "./EnterpriseSnackbar"
3
8
import {
4
9
AdditionalMessage ,
5
10
isNotificationList ,
@@ -9,11 +14,6 @@ import {
9
14
NotificationMsg ,
10
15
SnackbarEventType ,
11
16
} from "./utils"
12
- import { useCustomEvent } from "../../hooks/events"
13
- import { CustomEventListener } from "../../util/events"
14
- import { ErrorIcon } from "../Icons/ErrorIcon"
15
- import { Typography } from "../Typography/Typography"
16
- import { EnterpriseSnackbar } from "./EnterpriseSnackbar"
17
17
18
18
export const GlobalSnackbar : React . FC = ( ) => {
19
19
const styles = useStyles ( )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Link from "@material-ui/core/Link"
3
3
import { makeStyles } from "@material-ui/core/styles"
4
4
import Typography from "@material-ui/core/Typography"
5
5
import React from "react"
6
- import { UserAvatarProps , UserAvatar } from "../../User/UserAvatar"
6
+ import { UserAvatar , UserAvatarProps } from "../../User/UserAvatar"
7
7
8
8
export interface UserCellProps {
9
9
Avatar : UserAvatarProps
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { FormSection } from "../components/Form/FormSection"
11
11
import { FormTextField } from "../components/Form/FormTextField"
12
12
import { FormTitle } from "../components/Form/FormTitle"
13
13
14
-
15
14
export interface CreateTemplateFormProps {
16
15
provisioners : Provisioner [ ]
17
16
organizations : Organization [ ]
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import React from "react"
4
4
import { Link } from "react-router-dom"
5
5
import useSWR from "swr"
6
6
import { Organization , Template } from "../../api/types"
7
- import { EmptyState } from "../../components/EmptyState/EmptyState"
8
7
import { CodeExample } from "../../components/CodeExample/CodeExample"
8
+ import { EmptyState } from "../../components/EmptyState/EmptyState"
9
9
import { ErrorSummary } from "../../components/ErrorSummary/ErrorSummary"
10
10
import { Header } from "../../components/Header/Header"
11
11
import { FullScreenLoader } from "../../components/Loader/FullScreenLoader"
You can’t perform that action at this time.
0 commit comments