Browse Source

Fix eslint issue in FeatureTable

Stelios Vitalis 4 năm trước cách đây
mục cha
commit
e882da6a73
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.' );