Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhabib committed Jun 5, 2024
1 parent 69643c0 commit 5fe9fc7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Playroom/Box/Box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ export const Box = ({
}
}

const userClasses = clsx(className);
const atomClasses = clsx(sprinkles({ ...atomProps }));
const classes = clsx(userClasses, atomClasses);

const classes = clsx(className, sprinkles({ ...atomProps }));
const Component = component;

return <Component className={classes} {...restProps} />;
Expand Down

0 comments on commit 5fe9fc7

Please sign in to comment.