Skip to content

Commit 1cfaca2

Browse files
committed
add back ending curly brace
1 parent 36267f8 commit 1cfaca2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

flattenComponent.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ function flattenComponent(components, flattened = []) {
99
flattenComponent(components[index].children, flattened);
1010
})
1111
return flattened;
12+
}
1213

13-
14-
module.exports = flattenComponent;
15-
16-
14+
module.exports = flattenComponent

0 commit comments

Comments
 (0)