From e491abb55723ab20a36ead83320e40627cca8e06 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Fri, 3 Apr 2020 03:37:31 +0300
Subject: fix: correct linting errors :rotating_light:

---
 src/lib/Markdown/Markdown.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/Markdown/Markdown.tsx')

diff --git a/src/lib/Markdown/Markdown.tsx b/src/lib/Markdown/Markdown.tsx
index 944ac86..b3119f1 100644
--- a/src/lib/Markdown/Markdown.tsx
+++ b/src/lib/Markdown/Markdown.tsx
@@ -1,4 +1,4 @@
-import React, { useState, useEffect } from 'react';
+import React, { useState } from 'react';
 import axios from 'axios';
 
 import ContentSection from '../ContentSection/ContentSection';
@@ -30,7 +30,7 @@ const Level: React.FC<RawLinesPropType> = ({ rawLines, level = 0 }) => {
   const rawContent = (contentSize > 0) ? rawLines.slice(1, contentSize) : rawLines.slice(1);
   const rawChildren = rawLines.slice(contentSize);
 
-  const childrenLineGroups = rawChildren.reduce((acc: any[], cur: string) => {
+  const childrenLineGroups = rawChildren.reduce((acc: string[][], cur: string) => {
     if (cur.match(header(level + 1))) acc.push([]);
     if (acc.length) acc[acc.length - 1].push(cur);
     return acc;
-- 
cgit v1.2.3

