mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
rm trailing new lines
This commit is contained in:
parent
aabfda9c9e
commit
2e7d435035
12 changed files with 12 additions and 12 deletions
|
|
@ -7,4 +7,4 @@ it('renders without crashing', () => {
|
|||
const div = document.createElement('div');
|
||||
ReactDOM.render(<App />, div);
|
||||
ReactDOM.unmountComponentAtNode(div);
|
||||
});
|
||||
});
|
||||
|
|
@ -88,4 +88,4 @@ const buildButtonProps = (name: string, viewUrl: string): [ButtonProps, boolean]
|
|||
const title = `${prefixes.length ? prefixes.join(" | ") + " | " : ""}${message}`;
|
||||
|
||||
return [{ type, href, title }, disabled]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
import { ListsTable } from './listsTable';
|
||||
|
||||
export { ListsTable };
|
||||
export { ListsTable };
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
import { LanguageCloud } from './LanguageCloud';
|
||||
|
||||
export { LanguageCloud };
|
||||
export { LanguageCloud };
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
import { TagCloud } from './TagCloud';
|
||||
|
||||
export { TagCloud };
|
||||
export { TagCloud };
|
||||
|
|
@ -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 };
|
||||
|
|
@ -11,4 +11,4 @@ export const useApiData = <T extends {}>(url: string) => {
|
|||
fetchData();
|
||||
}, [url]);
|
||||
return data;
|
||||
};
|
||||
};
|
||||
|
|
@ -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") || [];
|
||||
|
|
@ -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") || [];
|
||||
|
|
@ -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") || [];
|
||||
|
|
@ -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") || [];
|
||||
|
|
@ -1 +1 @@
|
|||
/// <reference types="react-scripts" />
|
||||
/// <reference types="react-scripts" />
|
||||
Loading…
Reference in a new issue