Skip to content

Commit fce457c

Browse files
committed
cleanup unnecessary check
1 parent fc9fe5e commit fce457c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/tailwindcss/src/theme.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ export class Theme {
185185
markUsedVariable(themeKey: string) {
186186
let key = unescape(this.#unprefixKey(themeKey))
187187
let value = this.values.get(key)
188-
if (!value) return // Unknown variable
189-
if (value.options & ThemeOptions.USED) return // Variable already used
190-
188+
if (!value) return
191189
value.options |= ThemeOptions.USED
192190
}
193191

0 commit comments

Comments
 (0)