Skip to content

Commit

Permalink
fix: remove optional check in CardContainer (#11772)
Browse files Browse the repository at this point in the history
i think it was just a typo
  • Loading branch information
osdnk committed Jan 7, 2024
1 parent 2e014e9 commit e73551a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stack/src/views/Stack/CardContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function CardContainerInner({
<HeaderHeightContext.Provider
value={headerShown ? headerHeight : parentHeaderHeight ?? 0}
>
{scene.descriptor?.render()}
{scene.descriptor.render()}
</HeaderHeightContext.Provider>
</HeaderShownContext.Provider>
</HeaderBackContext.Provider>
Expand Down

0 comments on commit e73551a

Please sign in to comment.