fix: avoid duplicate backlog hydration load
This commit is contained in:
parent
b489e26665
commit
38d99834ef
5 changed files with 47 additions and 8 deletions
|
|
@ -151,6 +151,7 @@ export default async function ProductBacklogPage({ params, searchParams }: Props
|
|||
<div className="flex-1 overflow-hidden">
|
||||
<BacklogHydrationWrapper
|
||||
productId={id}
|
||||
productName={product.name}
|
||||
initialData={{
|
||||
pbis: pbis.map((p) => ({ id: p.id, code: p.code, title: p.title, priority: p.priority, sort_order: p.sort_order, description: p.description, created_at: p.created_at, status: pbiStatusToApi(p.status) })),
|
||||
storiesByPbi,
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ export default async function MobileProductBacklogPage({ params, searchParams }:
|
|||
<div className="flex flex-col h-full">
|
||||
<BacklogHydrationWrapper
|
||||
productId={id}
|
||||
productName={product.name}
|
||||
initialData={{
|
||||
pbis: pbis.map((p) => ({ id: p.id, code: p.code, title: p.title, priority: p.priority, sort_order: p.sort_order, description: p.description, created_at: p.created_at, status: pbiStatusToApi(p.status) })),
|
||||
storiesByPbi,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue