Skip to content

Commit a3f1a55

Browse files
committed
🧹
1 parent 161a9da commit a3f1a55

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

site/src/pages/AuditPage/AuditLogRow/AuditLogDiff/AuditLogDiff.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { type Interpolation, type Theme } from "@emotion/react";
22
import { type FC } from "react";
3-
import type { AuditLog } from "api/typesGenerated";
3+
import type { AuditDiff } from "api/typesGenerated";
44
import colors from "theme/tailwind";
55
import { MONOSPACE_FONT_FAMILY } from "theme/constants";
66

@@ -21,7 +21,11 @@ const getDiffValue = (value: unknown): string => {
2121
return String(value);
2222
};
2323

24-
export const AuditLogDiff: FC<{ diff: AuditLog["diff"] }> = ({ diff }) => {
24+
interface AuditLogDiffProps {
25+
diff: AuditDiff;
26+
}
27+
28+
export const AuditLogDiff: FC<AuditLogDiffProps> = ({ diff }) => {
2529
const diffEntries = Object.entries(diff);
2630

2731
return (

site/src/pages/CreateWorkspacePage/CreateWorkspacePageView.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import {
3535
type ExternalAuthPollingState,
3636
} from "./CreateWorkspacePage";
3737
import { useSearchParams } from "react-router-dom";
38-
import colors from "theme/tailwind";
3938
import { CreateWSPermissions } from "./permissions";
4039
import { Alert } from "components/Alert/Alert";
4140

0 commit comments

Comments
 (0)