瀏覽代碼

Fix eslint issue in FeatureTable

Stelios Vitalis 4 年之前
父節點
當前提交
e882da6a73
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utilities/FeatureTable.js

+ 1 - 1
src/utilities/FeatureTable.js

@@ -55,7 +55,7 @@ export class FeatureTable {
 			const featureType = feature.type || defaultType;
 			const featureComponentType = feature.componentType || defaultComponentType;
 
-			if ( 'type' in feature && defaultType && feature.type !== defaultType) {
+			if ( 'type' in feature && defaultType && feature.type !== defaultType ) {
 
 				throw new Error( 'FeatureTable: Specified type does not match expected type.' );