chore: fix linting errors

This commit is contained in:
Haishan 2018-12-07 00:23:36 +08:00
parent 7abbdb6477
commit 289dd01cbf
4 changed files with 4 additions and 20 deletions

View file

@ -1,8 +1,4 @@
import {
getURLAndInit,
genCommonHeaders,
getAPIBaseURL
} from 'm/request-helper';
import { getURLAndInit } from 'm/request-helper';
const endpoint = '/configs';

View file

@ -1,8 +1,4 @@
import {
getURLAndInit,
genCommonHeaders,
getAPIBaseURL
} from 'm/request-helper';
import { getURLAndInit } from 'm/request-helper';
const endpoint = '/logs';
const textDecoder = new TextDecoder('utf-8', { stream: true });

View file

@ -1,8 +1,4 @@
import {
getURLAndInit,
genCommonHeaders,
getAPIBaseURL
} from 'm/request-helper';
import { getURLAndInit } from 'm/request-helper';
const endpoint = '/proxies';
/*

View file

@ -1,8 +1,4 @@
import {
getURLAndInit,
genCommonHeaders,
getAPIBaseURL
} from 'm/request-helper';
import { getURLAndInit } from 'm/request-helper';
const endpoint = '/traffic';
const textDecoder = new TextDecoder('utf-8', { stream: true });