[dyad] Added thumbnails to the clips overview page - wrote 3 file(s), executed 1 SQL queries

This commit is contained in:
[dyad]
2026-01-30 09:06:50 +01:00
parent 957c9e3aaf
commit 3a3b1e5358
3 changed files with 38 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ export type Clip = {
short_id: string;
title: string;
storage_path: string;
thumbnail_storage_path: string;
created_at: string;
};
@@ -31,7 +32,7 @@ export default function AccountPage() {
const { data, error } = await supabase
.from('clips')
.select('id, short_id, title, storage_path, created_at')
.select('id, short_id, title, storage_path, thumbnail_storage_path, created_at')
.eq('user_id', user.id)
.order('created_at', { ascending: false });