Skip to content

Commit a6b4c12

Browse files
committed
Fix storybook
1 parent 3797686 commit a6b4c12

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.storybook/DocsContainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { useColors } from "../dist/useColors";
1111

1212
startReactDsfr({
1313
"defaultColorScheme": "system",
14-
"langIfNoProvider": "fr"
14+
"useLang": () => "fr"
1515
});
1616

1717
export const DocsContainer = ({ children, context }) => {

src/spa.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ export function startReactDsfr(params: {
3232
"nextParams": undefined
3333
});
3434
}
35+
36+
export { setUseLang };

0 commit comments

Comments
 (0)