Skip to content

Commit aeb90a6

Browse files
gckoclaude
authored andcommitted
fix(ui): move missed color system prop to sx in inlineRenderCell
MUI v9 codemod moved fontSize to sx but left color as a direct prop. Theme palette paths like "green.600" are system props and must be in sx. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Jared Scott <jared.scott@datarecce.io>
1 parent 81145f3 commit aeb90a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/packages/ui/src/components/ui/dataGrid/inlineRenderCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ export function createInlineRenderCell(config: InlineRenderCellConfig = {}) {
187187
grayOut={currentGrayOut}
188188
/>
189189
<Typography
190-
color={netChange >= 0 ? "green.600" : "red.600"}
191190
sx={{
191+
color: netChange >= 0 ? "green.600" : "red.600",
192192
fontSize: "0.75rem",
193193
}}
194194
>

0 commit comments

Comments
 (0)