Commit c709cbb
committed
Remove a call to variants() helper function
We don't actually need to call variants() inside our returned function,
because that looks up the variants element in the main tailwind config object,
and according to the README, the way to use this lib is to pass the variants directly.
Besides, the destructured variants was shadowing the 'variants' array passed in by
the user, so it was never used.1 parent 44e5b3b commit c709cbb
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
0 commit comments