File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ function ThumbnailPlaceholder(props: ThumbnailPlaceholderProps) {
278278 } , [ runs , props . videoId , queryClient ] ) ;
279279
280280 return (
281- < div className = "transition-transform duration-200 ease-in-out group-hover/video:scale-105 w-full h-2/3 flex flex-col gap-2 items-center justify-center" >
281+ < div className = "transition-transform duration-200 ease-in-out group-hover/video:scale-105 w-full h-2/3 flex flex-col gap-2 items-center justify-center bg-zinc-950 " >
282282 < Loader2Icon className = "w-12 h-12 aspect-square animate-spin text-muted" />
283283 </ div >
284284 ) ;
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export const deleteVideoServerFn = createServerFn({ method: "POST" })
9595 } ;
9696 }
9797
98- return { success : true , message : "Video queue for deletion" } ;
98+ return { success : true , message : "Video queued for deletion" } ;
9999 } ) ;
100100
101101export const onUploadCancelledServerFn = createServerFn ( { method : "POST" } )
@@ -125,7 +125,7 @@ export const onUploadCancelledServerFn = createServerFn({ method: "POST" })
125125 (
126126 SELECT SUM(${ videos . fileSizeBytes } )
127127 FROM ${ videos }
128- WHERE ${ videos . authorId } = ${ context . userId }
128+ WHERE ${ videos . authorId } = ${ context . userId } AND ${ videos . status } != 'deleting'
129129 ),
130130 0
131131 )
You can’t perform that action at this time.
0 commit comments