feat: new nav

This commit is contained in:
ner committed 2024-08-29 12:58:49 +03:00
1 parent 5733bc0af0
commit 750d5b12c8
25 files changed
+386 -325

No files matched your search

+8
View File
@@ -53,6 +53,14 @@ export const popularMovies = async ({ page }: { page?: string } = {}): Promise<M
});
};
export const trendingMovies = async ({ page }: { page?: string } = {}): Promise<MovieDBResponse> => {
return server.get('/trending/movie/day', {
params: {
page
}
});
};
export const topMovies = async ({
page,
starring