Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

FILED_TYPE_DISPLAY -> FIELD_TYPE_DISPLAY (#1879)

Jacob Wasilkowski723e605034da
diff --git a/src/components/common/field-token.tsx b/src/components/common/field-token.tsx
index 731de4173..fe27cb99b 100644
--- a/src/components/common/field-token.tsx
+++ b/src/components/common/field-token.tsx
@@ -20,7 +20,7 @@
import React from 'react';
import styled from 'styled-components';
-import {FILED_TYPE_DISPLAY, FIELD_COLORS} from '@kepler.gl/constants';
+import {FIELD_TYPE_DISPLAY, FIELD_COLORS} from '@kepler.gl/constants';
function FieldTokenFactory(
fieldTypeDisplay: ReturnType<typeof getFieldTypes>,
@@ -51,7 +51,7 @@ function FieldTokenFactory(
}
function getFieldTypes() {
- return FILED_TYPE_DISPLAY;
+ return FIELD_TYPE_DISPLAY;
}
function getFieldColors() {
diff --git a/src/constants/src/default-settings.ts b/src/constants/src/default-settings.ts
index 122625848..42a2e889a 100644
--- a/src/constants/src/default-settings.ts
+++ b/src/constants/src/default-settings.ts
@@ -385,7 +385,7 @@ const BLUE3 = '0, 172, 237';
const GREEN = '106, 160, 56';
const RED = '237, 88, 106';
-export const FILED_TYPE_DISPLAY = {
+export const FIELD_TYPE_DISPLAY = {
[ALL_FIELD_TYPES.boolean]: {
label: 'bool',
color: PINK