diff --git a/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx b/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx index 4a107cc6b4..93b15884eb 100644 --- a/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx +++ b/packages/sdk/packages/payload/packages/raw-info/src/components/Button/RawInfoIconButton.tsx @@ -17,7 +17,10 @@ export interface RawInfoIconProps extends IconButtonProps, ExpansionProps { } export const RawInfoIconButton = forwardRef( - ({ defaultExpandedJson, dialogContent, iconOnly, iconSize = 32, onCloseCallback, payload, presetIconSize, updateExpandedJson, ...props }, ref) => { + ( + { defaultExpandedJson = true, dialogContent, iconOnly, iconSize = 32, onCloseCallback, payload, presetIconSize, updateExpandedJson, ...props }, + ref, + ) => { const [open, setOpen] = useState(false) const size = presetIconSizeValue(presetIconSize)