diff --git a/apps/roboshield/src/components/Code/Code.tsx b/apps/roboshield/src/components/Code/Code.tsx index 3cad14a88..e526236f5 100644 --- a/apps/roboshield/src/components/Code/Code.tsx +++ b/apps/roboshield/src/components/Code/Code.tsx @@ -132,9 +132,9 @@ export default function Code(props: CodeProps) { }} /> } - sx={(theme: Theme) => ({ - background: theme.palette.error.main, - borderColor: theme.palette.error.main, + sx={{ + background: "error.main", + borderColor: "error.main", "&:hover": { color: "error.main", },