mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
feat(video): lazy-load version comments and add ETag-based comment caching
This commit is contained in:
@@ -158,7 +158,7 @@ export default function CompareVersionsPage() {
|
||||
useEffect(() => {
|
||||
async function fetchVideo() {
|
||||
try {
|
||||
const res = await fetch(`/api/projects/${projectId}/videos/${videoId}`);
|
||||
const res = await fetch(`/api/projects/${projectId}/videos/${videoId}?includeComments=false`);
|
||||
if (!res.ok) {
|
||||
setError('Failed to load video');
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user