Skip to content

Commit

Permalink
Refactor PropertyValue component to conditionally render right panel …
Browse files Browse the repository at this point in the history
…styles
  • Loading branch information
Sachin-chaurasiya committed Sep 26, 2024
1 parent 7c94831 commit ee72e12
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,11 @@ export const PropertyValue: FC<PropertyValueProps> = ({
setIsExpanded(!isExpanded);
};

if (isRenderedInRightPanel) {
// TODO: Add right panel styles
return null;
}

return (
<Card
className="w-full"
Expand Down

0 comments on commit ee72e12

Please sign in to comment.