Skip to content

Commit

Permalink
fixes storybook build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dormeh committed Dec 25, 2023
1 parent 5df0f86 commit 395d685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/storybook/decorators/StoreDecorator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {StoreProvider} from "../../../src/app/providers/SroreProvider/index.js";
import {StoreProvider} from "../../../src/app/providers/SroreProvider/index.ts";

export const StoreDecorator = (initialState) => (Story) =>
( <StoreProvider initialState={initialState}>
Expand Down
1 change: 1 addition & 0 deletions config/storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = ({ config }) => {
config?.plugins?.push(
new DefinePlugin({
__API__: JSON.stringify(process.env.APP_HOSTNAME),
__IS_DEV__: true,
}),
);

Expand Down

0 comments on commit 395d685

Please sign in to comment.