Skip to content

Commit f56591f

Browse files
authored
fix: Define attributes object if not already defined (#165)
1 parent df95751 commit f56591f

File tree

1 file changed

+2
-0
lines changed
  • packages/deck.gl-layers/src/utils

1 file changed

+2
-0
lines changed

packages/deck.gl-layers/src/utils/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ export function assignAccessor(args: AssignAccessorProps) {
255255
return;
256256
}
257257

258+
props.data.attributes = props.data.attributes || {};
259+
258260
if (propInput instanceof arrow.Data) {
259261
const columnData = propInput;
260262

0 commit comments

Comments
 (0)