Skip to content

Commit 641a8ef

Browse files
author
Kubit
committed
Fix build errors
1 parent 8598b5b commit 641a8ef

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.storybook/provider/themeProvider.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import React from 'react';
22

3-
import {
4-
FONTS_KUBIT_GLOBAL_STYLES,
5-
FONTS_KUBIT_WIREFRAME_GLOBAL_STYLES,
6-
KUBIT_GLOBAL_STYLES,
7-
KUBIT_WIREFRAME_GLOBAL_STYLES,
8-
} from '../../src/designSystem';
3+
import { FONTS_KUBIT_GLOBAL_STYLES } from '../../src/designSystem/kubit/globalStyles/fonts';
4+
import { KUBIT_GLOBAL_STYLES } from '../../src/designSystem/kubit/globalStyles/globalStyle';
5+
import { FONTS_KUBIT_WIREFRAME_GLOBAL_STYLES } from '../../src/designSystem/kubitWireframe/commons/globalStyles/fonts';
6+
import { KUBIT_WIREFRAME_GLOBAL_STYLES } from '../../src/designSystem/kubitWireframe/commons/globalStyles/globalStyle';
97
import {
108
ThemeProvider as BaseThemeProvider,
119
IGenericLink,
@@ -96,7 +94,7 @@ export const ThemeProvider = ({ children, theme, themeName = 'kubit' }) => {
9694
return getAllMonthNames();
9795
},
9896
getAllWeekdayName: () => {
99-
return getAllWeekdayNames();
97+
return getAllWeekdayNames('long', false);
10098
},
10199
}}
102100
formatDate={(date: Date, format: string | DateFormatOptions) => {

0 commit comments

Comments
 (0)