Skip to content

Commit

Permalink
Tidy up refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
12 committed Jun 12, 2020
1 parent 257da04 commit c6fce1d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Containers/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from 'react';
import { Global } from '@emotion/core';
import useFetch from '../../Helpers/useFetch';
import Line, { LineProps } from '../../Components/Line/index';
import sortData from '../../Helpers/sortData';
import sortData from '../../Helpers/sortData'; // @TODO: Re-enable sorting of lines by status
import { globalStyles, WrapperStyled, GithubLinkStyled } from '../../Helpers/styles';

const endpoint =
Expand All @@ -14,8 +14,6 @@ type ResponseType = {
}

const App = () => {
const [lines, setLines] = useState([]);

const res: ResponseType = useFetch(endpoint);

if (!res.response) {
Expand Down

0 comments on commit c6fce1d

Please sign in to comment.