Skip to content

Commit 679aa31

Browse files
fix some stuff
1 parent 4a2c6eb commit 679aa31

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/components/setup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jest.mock("styled-components", () => {
1010
});
1111

1212
jest.mock('react-i18next', () => ({
13-
// this mock makes sure any components using the translate hook can use it without a warning being shown
1413
useTranslation: () => {
1514
return {
1615
t: (str) => str,

packages/components/src/primal/box/story.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ BoxWithPseudo.args = {
3131
_hover: {
3232
bg: 'red',
3333
},
34+
defaultStyles: "input"
3435
};
3536

36-
BoxWithPseudo.parameters = {
37-
pseudo: { hover: true },
38-
};

packages/components/src/primal/box/styled.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const StyledBoxProps = compose(
3838
flexbox,
3939
typography,
4040
utilProps,
41+
pseudo,
4142
defaultStyles
4243
);
4344

0 commit comments

Comments
 (0)