Skip to content

Commit 5c2bf5c

Browse files
authored
fix(empty-states): keep const assertions on changelog release constants (#8994)
1 parent 54adfc5 commit 5c2bf5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/changelog-empty-state.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ interface Release {
2222
notes: readonly number[]
2323
}
2424

25-
const LATEST: Release = { top: 10, notes: [118, 92] }
25+
const LATEST: Release = { top: 10, notes: [118, 92] } as const
2626

2727
/** Ends inside the 148px viewBox; the fade carries the timeline past it. */
28-
const EARLIER: Release = { top: 70, notes: [104, 126, 80] }
28+
const EARLIER: Release = { top: 70, notes: [104, 126, 80] } as const
2929

3030
const SPINE_X = 24
3131
const NOTE_PITCH = 12

0 commit comments

Comments
 (0)