···297 }
298299 // Use the derived pageId from components (null if no components)
300- const pageId = derivedPageId;
301302 // Create the status report
303 const report = await tx
···297 }
298299 // Use the derived pageId from components (null if no components)
300+ const pageId = Number(providedPageId);
301302 // Create the status report
303 const report = await tx