Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 2fd1726

Browse files
author
Noah Lee
authored
Remove unused components (#406)
* Remove unused components * Move the component into the view
1 parent 0d53b64 commit 2fd1726

File tree

6 files changed

+2
-277
lines changed

6 files changed

+2
-277
lines changed

ui/src/components/ActivityLogs.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

ui/src/components/ApproversSelect.tsx

Lines changed: 0 additions & 80 deletions
This file was deleted.

ui/src/components/RepoList.tsx

Lines changed: 0 additions & 55 deletions
This file was deleted.

ui/src/components/RepoSettingsForm.tsx

Lines changed: 0 additions & 80 deletions
This file was deleted.

ui/src/views/repoDeploy/DeployForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Form, Select, Radio, Button, Typography, Avatar, Tag as AntdTag } from
44
import { Branch, Commit, Tag, Deployment, DeploymentType, Status, Env } from "../../models"
55

66
import CreatableSelect, {Option as Op} from "../../components/CreatableSelect"
7-
import StatusStateIcon from "../../components/StatusStateIcon"
7+
import StatusStateIcon from "./StatusStateIcon"
88
import moment from "moment"
99

1010
export type Option = Op

ui/src/components/StatusStateIcon.tsx renamed to ui/src/views/repoDeploy/StatusStateIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Popover, Avatar, Typography, Row, Col, Divider, Space } from "antd"
22
import { CheckOutlined, CloseOutlined, StopOutlined, ExclamationCircleOutlined, ClockCircleOutlined } from "@ant-design/icons"
33

4-
import { Status, StatusState } from "../models"
4+
import { Status, StatusState } from "../../models"
55

66
const colorSuccess = "#1a7f37"
77
const colorFailure = "#cf222e"

0 commit comments

Comments
 (0)