From f0e56bf204eaab065c38d2b5ac6ea2974e48a250 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Wed, 1 May 2019 19:38:49 +0100
Subject: [PATCH] Inline function

---
 index.js | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/index.js b/index.js
index 2d2c94f..6946e9d 100644
--- a/index.js
+++ b/index.js
@@ -1,9 +1,7 @@
-module.exports = (variants) => {
-  return function ({ addUtilities }) {
-    addUtilities({
-      '.test': {
-        display: 'block'
-      }
-    }, variants)
-  }
+module.exports = (variants) => ({ addUtilities }) => {
+  addUtilities({
+    '.test': {
+      display: 'block'
+    }
+  }, variants)
 }