Skip to content

Commit 8eabe48

Browse files
committed
refactor: switch IDs back to numbers
1 parent 90f221f commit 8eabe48

File tree

6 files changed

+149
-149
lines changed

6 files changed

+149
-149
lines changed

site/src/components/Logs/LogLine.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MONOSPACE_FONT_FAMILY } from "theme/constants";
66
export const DEFAULT_LOG_LINE_SIDE_PADDING = 24;
77

88
export interface Line {
9-
id: string;
9+
id: number;
1010
time: string;
1111
output: string;
1212
level: LogLevel;

site/src/components/Logs/Logs.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const meta: Meta<typeof Logs> = {
1010
component: Logs,
1111
args: {
1212
lines: MockWorkspaceBuildLogs.map<Line>((log) => ({
13-
id: String(log.id),
13+
id: log.id,
1414
level: log.log_level,
1515
time: log.created_at,
1616
output: log.output,

0 commit comments

Comments
 (0)