File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,8 +167,7 @@ function resolveThemableArray(splitStyleArray: ThemableArray): string {
167167 const themedValue : string | undefined = theme ? theme [ themeSlot ] : undefined ;
168168 const defaultValue : string = currentValue . defaultValue || 'inherit' ;
169169
170- // Warn to console if we hit an unthemed value even when themes are provided, unless "DEBUG" is false or
171- // isn't present.
170+ // Warn to console if we hit an unthemed value even when themes are provided, unless "DEBUG" is false
172171 // Allow the themedValue to be undefined to explicitly request the default value.
173172 if ( theme && ! themedValue && console && ! ( themeSlot in theme ) && ( typeof DEBUG === 'undefined' || DEBUG ) ) {
174173 console . warn ( `Theming value not provided for "${ themeSlot } ". Falling back to "${ defaultValue } ".` ) ;
You can’t perform that action at this time.
0 commit comments