refactor: renames, rewrite some file, function names and texts

This commit is contained in:
Riccardo
2024-06-18 12:03:56 +02:00
parent acc10bf5fd
commit e0b89237fb
22 changed files with 55 additions and 84 deletions

View File

@@ -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`;
}