aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/SubscriberTable/SubscriberTable.tsx
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-06-18 01:21:39 -0700
committerPinapelz <yukais@pinapelz.com>2024-06-18 01:21:39 -0700
commit168cd49ae9833a6538a24fd69227fb2138fa06dc (patch)
tree330f9cf4ffec3191bc76e1fe05c31247c7139405 /src/components/SubscriberTable/SubscriberTable.tsx
parent5dfa409a4c33f9502f2dd07dfab653d20f3c2eb0 (diff)
add view count to subscriber table
Diffstat (limited to 'src/components/SubscriberTable/SubscriberTable.tsx')
-rw-r--r--src/components/SubscriberTable/SubscriberTable.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/SubscriberTable/SubscriberTable.tsx b/src/components/SubscriberTable/SubscriberTable.tsx
index a666284..b07c75d 100644
--- a/src/components/SubscriberTable/SubscriberTable.tsx
+++ b/src/components/SubscriberTable/SubscriberTable.tsx
@@ -8,6 +8,7 @@ interface ChannelDataProp {
sub_org: string;
video_count: number;
day_diff: number;
+ views: number;
}
interface SubscriberDataTableProp {
@@ -42,6 +43,9 @@ return (
<th scope="col" className="py-1 px-1 sm:px-3 hidden sm:table-cell">
VIDEO COUNT
</th>
+ <th scope="col" className="py-1 px-1 sm:px-3 hidden sm:table-cell">
+ VIEW COUNT
+ </th>
<th scope="col" className="py-1 px-1 sm:px-3">
SUBSCRIBERS
</th>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage