refactor: renames, rewrite some file, function names and texts
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
export const topNews = 'https://hacker-news.firebaseio.com/v0/topstories.json';
|
||||
export const getTopNews =
|
||||
'https://hacker-news.firebaseio.com/v0/topstories.json';
|
||||
|
||||
export function singleNews(id: number) {
|
||||
export function getSingleNews(id: number) {
|
||||
return `https://hacker-news.firebaseio.com/v0/item/${id}.json`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user