rm trailing new lines

This commit is contained in:
Collin M. Barrett 2019-08-31 16:32:07 -05:00
parent aabfda9c9e
commit 2e7d435035
12 changed files with 12 additions and 12 deletions

View file

@ -7,4 +7,4 @@ it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
});
});

View file

@ -88,4 +88,4 @@ const buildButtonProps = (name: string, viewUrl: string): [ButtonProps, boolean]
const title = `${prefixes.length ? prefixes.join(" | ") + " | " : ""}${message}`;
return [{ type, href, title }, disabled]
}
}

View file

@ -1,3 +1,3 @@
import { ListsTable } from './listsTable';
export { ListsTable };
export { ListsTable };

View file

@ -1,3 +1,3 @@
import { LanguageCloud } from './LanguageCloud';
export { LanguageCloud };
export { LanguageCloud };

View file

@ -1,3 +1,3 @@
import { TagCloud } from './TagCloud';
export { TagCloud };
export { TagCloud };

View file

@ -4,4 +4,4 @@ import { useLists } from './useLists';
import { useTablePageSizer } from './useTablePageSizer';
import { useTags } from './useTags';
export { useLanguages, useLicenses, useLists, useTablePageSizer, useTags };
export { useLanguages, useLicenses, useLists, useTablePageSizer, useTags };

View file

@ -11,4 +11,4 @@ export const useApiData = <T extends {}>(url: string) => {
fetchData();
}, [url]);
return data;
};
};

View file

@ -1,4 +1,4 @@
import { Language } from '../interfaces/Language';
import { useApiData } from './useApiData';
export const useLanguages = () => useApiData<Language[]>("/api/v1/languages") || [];
export const useLanguages = () => useApiData<Language[]>("/api/v1/languages") || [];

View file

@ -1,4 +1,4 @@
import { License } from '../interfaces/License';
import { useApiData } from './useApiData';
export const useLicenses = () => useApiData<License[]>("/api/v1/licenses") || [];
export const useLicenses = () => useApiData<License[]>("/api/v1/licenses") || [];

View file

@ -1,4 +1,4 @@
import { List } from '../interfaces/List';
import { useApiData } from './useApiData';
export const useLists = () => useApiData<List[]>("/api/v1/lists") || [];
export const useLists = () => useApiData<List[]>("/api/v1/lists") || [];

View file

@ -1,4 +1,4 @@
import { Tag } from '../interfaces/Tag';
import { useApiData } from './useApiData';
export const useTags = () => useApiData<Tag[]>("/api/v1/tags") || [];
export const useTags = () => useApiData<Tag[]>("/api/v1/tags") || [];

View file

@ -1 +1 @@
/// <reference types="react-scripts" />
/// <reference types="react-scripts" />