From 3d033068c6c80043e32da8520d32b5d321abe925 Mon Sep 17 00:00:00 2001 From: Christian Dinh Date: Mon, 1 Oct 2018 13:33:54 -0500 Subject: [PATCH] fix named export 'contains' is imported as default --- src/helpers/contains.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/contains.js b/src/helpers/contains.js index 70cc1c0..e90e5b2 100644 --- a/src/helpers/contains.js +++ b/src/helpers/contains.js @@ -1,6 +1,6 @@ // Checks to see if a parent element contains a child element /* eslint no-param-reassign:0, no-cond-assign:0 */ -export function contains(parent, child) { +export default function contains(parent, child) { do { if (parent === child) { return true;