Skip to content

Commit

Permalink
FILED_TYPE_DISPLAY -> FIELD_TYPE_DISPLAY (#1879)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Wasilkowski <jwasilkowski@foursquare.com>

Co-authored-by: Ilija Puaca <ilija@unfolded.ai>
  • Loading branch information
jwasilgeo and ilijapuaca committed Jul 26, 2022
1 parent 7d32831 commit 723e605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/common/field-token.tsx
Expand Up @@ -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>,
Expand Down Expand Up @@ -51,7 +51,7 @@ function FieldTokenFactory(
}

function getFieldTypes() {
return FILED_TYPE_DISPLAY;
return FIELD_TYPE_DISPLAY;
}

function getFieldColors() {
Expand Down
2 changes: 1 addition & 1 deletion src/constants/src/default-settings.ts
Expand Up @@ -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
Expand Down

0 comments on commit 723e605

Please sign in to comment.