Pārlūkot izejas kodu

Fix eslint issue in FeatureTable

Stelios Vitalis 4 gadi atpakaļ
vecāks
revīzija
e882da6a73
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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.' );