Skip to content

Commit a0c94cf

Browse files
committed
Clearing up comment.
1 parent 25d305a commit a0c94cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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}".`);

0 commit comments

Comments
 (0)