[dyad] Added thumbnails to the clips overview page - wrote 3 file(s), executed 1 SQL queries
This commit is contained in:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user