Skip to content

Commit

Permalink
remove any prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocio De Santiago authored and Rocio De Santiago committed Aug 28, 2024
1 parent 740ac5f commit 6170b0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions services/ui-src/src/components/layout/PageTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ export const PageTemplate = ({
type = "standard",
children,
sxOverride,
...props
}: Props) => {
return (
<section>
<Box sx={{ ...sx.contentBox, ...sxOverride }} className={type} {...props}>
<Box sx={{ ...sx.contentBox, ...sxOverride }} className={type}>
<Flex sx={sx.contentFlex} className={`contentFlex ${type}`}>
{children}
</Flex>
Expand All @@ -22,7 +21,6 @@ interface Props {
type?: "standard" | "report";
children: React.ReactNode;
sxOverride?: any;
[key: string]: any;
}

const sx = {
Expand Down

0 comments on commit 6170b0f

Please sign in to comment.