Commit d58d0505 authored by Imran Salam's avatar Imran Salam
Browse files

fix tslint warnings

parent 54cc3ddf
......@@ -173,10 +173,8 @@ export const fetchExampleObjects = createAsyncAction(
)<null, {}, Error>();
export const fetchExampleObjectsData = () => {
console.log('AAA');
return (dispatch: Dispatch) => {
dispatch(fetchExampleObjects.request(null));
console.log('BBB', config);
return fetch(`http://${config.apiHost}/browser/example_objects`)
.then(
(response) => response.json(),
......@@ -224,8 +222,8 @@ export const updateCogList = createAction(
export const updateCogTrackList = createAction(
'browser/update-cog-track-list',
(resolve) => {
return (track_y: CogList) => {
return resolve(track_y);
return (trackY: CogList) => {
return resolve(trackY);
};
}
);
......
......@@ -13,7 +13,7 @@
"no-console": [true, "log", "error"],
"no-implicit-dependencies": [
true,
"src",
["src", "config"],
["enzyme", "enzyme-adapter-react-16", "jest-fetch-mock", "src", "static"]
],
"no-namespace": false,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment