Skip to content

Commit 905ef1f

Browse files
author
sanmont3drepo
committed
ISSUE #4642 - Fixed import error
1 parent c644d9b commit 905ef1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/.storybook/preview.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { theme as V5Theme } from '@/v5/ui/themes/theme';
22
import { theme as V5ViewerTheme } from '@/v5/ui/routes/viewer/theme';
33
import { IntlProvider } from 'react-intl';
4-
import { getIntlProviderProps } from '@/v5/services/intl';
4+
import { getIntl } from '@/v5/services/intl';
55
import { GlobalStyle } from '@/v5/ui/themes/global';
66
import { ThemeProvider as MuiThemeProvider } from '@mui/material';
77
import { ThemeProvider, createGlobalStyle } from 'styled-components';
@@ -73,7 +73,7 @@ const withThemeProvider = (Story, context)=>{
7373
export const decorators = [
7474
withThemeProvider,
7575
(Story) => (
76-
<IntlProvider {...getIntlProviderProps()}>
76+
<IntlProvider {...getIntl()}>
7777
<Story />
7878
</IntlProvider>
7979
),

0 commit comments

Comments
 (0)