Skip to content

Commit

Permalink
remove react-dom from storybook's config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexasselin008 committed Jun 18, 2024
1 parent 7d694c4 commit 0c7d132
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions apps/docs/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export default {
];
config.resolve.alias = {
...config.resolve.alias,
"@": path.resolve(__dirname, "app"),
"react-dom": "react-dom"
"@": path.resolve(__dirname, "app")
};
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Div } from "@hopper-ui/styled-system";
import type { Meta, StoryObj } from "@storybook/react";
import { within } from "@testing-library/react";
import { within } from "@storybook/test";

import { ErrorMessage } from "../../../errorMessage/index.ts";
import { HelperMessage } from "../../../helperMessage/index.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MailIcon } from "@hopper-ui/icons";
import { Div } from "@hopper-ui/styled-system";
import type { Meta, StoryObj } from "@storybook/react";
import { within } from "@testing-library/react";
import { within } from "@storybook/test";

import { ErrorMessage } from "../../../errorMessage/index.ts";
import { HelperMessage } from "../../../helperMessage/index.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MailIcon } from "@hopper-ui/icons";
import { Div } from "@hopper-ui/styled-system";
import type { Meta, StoryObj } from "@storybook/react";
import { within } from "@testing-library/react";
import { within } from "@storybook/test";

import { ErrorMessage } from "../../../errorMessage/index.ts";
import { HelperMessage } from "../../../helperMessage/index.ts";
Expand Down

0 comments on commit 0c7d132

Please sign in to comment.