style: added new screens and designs
This commit is contained in:
@@ -9,6 +9,7 @@ export type RawShow = {
|
||||
streamingServices: string;
|
||||
startDate?: string;
|
||||
endDate?: string | null;
|
||||
running: boolean;
|
||||
};
|
||||
|
||||
export type Show = {
|
||||
@@ -22,6 +23,7 @@ export type Show = {
|
||||
concept: string;
|
||||
startDate?: string;
|
||||
endDate?: string | null;
|
||||
running: boolean;
|
||||
};
|
||||
|
||||
const API_URL = "http://45.157.177.99:8080/shows";
|
||||
@@ -46,8 +48,7 @@ export async function getShows(): Promise<Show[]> {
|
||||
bannerUri: s.bannerUrl ?? "",
|
||||
streamingService: s.streamingServices,
|
||||
concept: s.concept,
|
||||
startDate: s.startDate,
|
||||
endDate: s.endDate ?? null,
|
||||
running: s.running,
|
||||
}));
|
||||
} catch (error) {
|
||||
console.error("Fetch error:", error);
|
||||
|
||||
Reference in New Issue
Block a user