UPDATE: Have Stripe only load on pages it's needed;

FIX: Pass proper prop through `ContentContext`;
This commit is contained in:
Chris-1010
2025-02-23 23:28:14 +00:00
parent 52a15d8691
commit 38a74e0710
4 changed files with 80 additions and 57 deletions

View File

@@ -11,7 +11,7 @@ interface Item {
interface StreamItem extends Item {
type: "stream";
streamer: string;
username: string;
streamCategory: string;
}
@@ -56,7 +56,7 @@ export function ContentProvider({ children }: { children: React.ReactNode }) {
type: "stream",
id: stream.user_id,
title: stream.title,
streamer: stream.username,
username: stream.username,
streamCategory: stream.category_name,
viewers: stream.num_viewers,
thumbnail: