Skip to content

Commit 846dd99

Browse files
refactor: Remove cli example from the Audit page (#4031)
1 parent 7e54413 commit 846dd99

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

site/src/pages/AuditPage/AuditPageView.tsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import TableHead from "@material-ui/core/TableHead"
66
import TableRow from "@material-ui/core/TableRow"
77
import { AuditLog } from "api/typesGenerated"
88
import { AuditLogRow } from "components/AuditLogRow/AuditLogRow"
9-
import { CodeExample } from "components/CodeExample/CodeExample"
109
import { EmptyState } from "components/EmptyState/EmptyState"
1110
import { Margins } from "components/Margins/Margins"
1211
import { PageHeader, PageHeaderSubtitle, PageHeaderTitle } from "components/PageHeader/PageHeader"
@@ -19,7 +18,6 @@ import { FC } from "react"
1918
export const Language = {
2019
title: "Audit",
2120
subtitle: "View events in your audit log.",
22-
tooltipTitle: "Copy to clipboard and try the Coder CLI",
2321
}
2422

2523
export interface AuditPageViewProps {
@@ -47,11 +45,7 @@ export const AuditPageView: FC<AuditPageViewProps> = ({
4745

4846
return (
4947
<Margins>
50-
<PageHeader
51-
actions={
52-
<CodeExample tooltipTitle={Language.tooltipTitle} code="coder audit [organization_ID]" />
53-
}
54-
>
48+
<PageHeader>
5549
<PageHeaderTitle>
5650
<Stack direction="row" spacing={1} alignItems="center">
5751
<span>{Language.title}</span>

0 commit comments

Comments
 (0)