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;