Skip to content

Commit d7d3734

Browse files
committed
Remove unused variables
1 parent 49fa3fe commit d7d3734

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/corePlugins/margin.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { asValue, nameClass } = require('../pluginUtils')
22

3-
module.exports = function ({ matchUtilities, jit: { theme } }) {
3+
module.exports = function ({ matchUtilities }) {
44
matchUtilities({
5-
m: (modifier, { theme, candidate }) => {
5+
m: (modifier, { theme }) => {
66
let value = asValue(modifier, theme['margin'])
77

88
if (value === undefined) {
@@ -13,7 +13,7 @@ module.exports = function ({ matchUtilities, jit: { theme } }) {
1313
},
1414
})
1515
matchUtilities({
16-
mx: (modifier, { theme, candidate }) => {
16+
mx: (modifier, { theme }) => {
1717
let value = asValue(modifier, theme['margin'])
1818

1919
if (value === undefined) {
@@ -22,7 +22,7 @@ module.exports = function ({ matchUtilities, jit: { theme } }) {
2222

2323
return { [nameClass('mx', modifier)]: { 'margin-left': value, 'margin-right': value } }
2424
},
25-
my: (modifier, { theme, candidate }) => {
25+
my: (modifier, { theme }) => {
2626
let value = asValue(modifier, theme['margin'])
2727

2828
if (value === undefined) {
@@ -33,7 +33,7 @@ module.exports = function ({ matchUtilities, jit: { theme } }) {
3333
},
3434
})
3535
matchUtilities({
36-
mt: (modifier, { theme, candidate }) => {
36+
mt: (modifier, { theme }) => {
3737
let value = asValue(modifier, theme['margin'])
3838

3939
if (value === undefined) {
@@ -42,7 +42,7 @@ module.exports = function ({ matchUtilities, jit: { theme } }) {
4242

4343
return { [nameClass('mt', modifier)]: { 'margin-top': value } }
4444
},
45-
mr: (modifier, { theme, candidate }) => {
45+
mr: (modifier, { theme }) => {
4646
let value = asValue(modifier, theme['margin'])
4747

4848
if (value === undefined) {
@@ -51,7 +51,7 @@ module.exports = function ({ matchUtilities, jit: { theme } }) {
5151

5252
return { [nameClass('mr', modifier)]: { 'margin-right': value } }
5353
},
54-
mb: (modifier, { theme, candidate }) => {
54+
mb: (modifier, { theme }) => {
5555
let value = asValue(modifier, theme['margin'])
5656

5757
if (value === undefined) {
@@ -60,7 +60,7 @@ module.exports = function ({ matchUtilities, jit: { theme } }) {
6060

6161
return { [nameClass('mb', modifier)]: { 'margin-bottom': value } }
6262
},
63-
ml: (modifier, { theme, candidate }) => {
63+
ml: (modifier, { theme }) => {
6464
let value = asValue(modifier, theme['margin'])
6565

6666
if (value === undefined) {

0 commit comments

Comments
 (0)