Render missing context provider for layouts (#17349)

## Before

<img width="1656" height="892" alt="image"
src="https://github.com/user-attachments/assets/05c6ced5-ff13-4987-a978-bae5111da9d4"
/>


## After



https://github.com/user-attachments/assets/a3b34590-8006-4363-8fa4-b52fb099bbff
This commit is contained in:
Baptiste Devessier
2026-01-22 17:17:04 +01:00
committed by GitHub
parent fe9c8f1429
commit 267691a403
2 changed files with 16 additions and 4 deletions
@@ -37,8 +37,8 @@ export const PropertyBox = ({
const layoutRenderingContext = useLayoutRenderingContext();
const isInRecordPageLayout =
layoutRenderingContext?.layoutType === PageLayoutType.RECORD_PAGE &&
!layoutRenderingContext?.isLegacyRecordShowPage;
layoutRenderingContext.layoutType === PageLayoutType.RECORD_PAGE &&
!layoutRenderingContext.isLegacyRecordShowPage;
return (
<StyledPropertyBoxContainer