Skip to content

Commit 266aee5

Browse files
committed
fix: initial visibility prop mapping to id instead of name - unused in the codebase currently
1 parent 704d9ae commit 266aee5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/imagekit-editor-dev/src/store/initialState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const initialVisibleTransformations: Record<string, boolean> = {}
66

77
function initTransformationStates(transformations: Transformation[]) {
88
transformations.forEach((transformation) => {
9-
initialVisibleTransformations[transformation.name] = true
9+
initialVisibleTransformations[transformation.id] = true
1010
})
1111
}
1212

0 commit comments

Comments
 (0)