Skip to content

Commit

Permalink
feat: add TODO in WorkPageLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasGross committed Nov 27, 2024
1 parent a58d5c9 commit de83dc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/pages/workPageLayout/WorkPageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function WorkPageLayout({ wid }: { wid: string }) {
queryFn: useGetMaterialQuery.fetcher({ wid }),
})

// TODO: Handle potential error states
const manifestations = data?.work?.manifestations.all
const identifier = manifestations?.[0].identifiers?.[0].value || ""

Expand Down

0 comments on commit de83dc9

Please sign in to comment.