Skip to content

Commit

Permalink
fix: Clean up examples
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Oct 25, 2024
1 parent dbe19a9 commit 445f80a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions modules/react/_examples/stories/mdx/examples/Density.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ export const Density = () => {
setLabelOrientation(data.id);
};

React.useEffect(() => {
setDensity('high');
setLabelOrientation('horizontalStart');
setContainerAlignment('left');
}, []);

const canvasTheme: PartialEmotionCanvasTheme = useTheme({
custom: {
density,
Expand Down
1 change: 0 additions & 1 deletion modules/react/common/lib/theming/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ export const defaultCanvasTheme: CanvasTheme = {
only,
},
direction: ContentDirection.LTR,
custom: {},
};

0 comments on commit 445f80a

Please sign in to comment.