Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
akasrai committed Oct 12, 2020
1 parent e4733f8 commit 6405f19
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/pages/components/inbox.component.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import React, { useState, useEffect, useContext, Fragment } from 'react';

import MainLayout from 'ui/main.layout';

import { AuthContext } from 'app/app.context';

import { MailResponse, Email } from 'api/api.type';
Expand All @@ -10,14 +8,6 @@ import { getMails, listenIncomingMails } from 'api/request.api';
import EmailList from './email-list.component';
import SingleView from './view-email.component';

interface InboxProps {
loading: boolean;
emails: Email[];
selectedEmail: Email | undefined;
viewEmailById: (id: string) => void;
selectEmail: (email: Email | undefined) => void;
}

const getUserName = (email: string) => {
const nameSpace = process.env.REACT_APP_TEST_MAIL_NAMESPACE || '';

Expand Down

0 comments on commit 6405f19

Please sign in to comment.