Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 210e41d commit 4807849Copy full SHA for 4807849
site/.storybook/preview.jsx
@@ -107,7 +107,7 @@ function withQuery(Story, { parameters }) {
107
// Try to fix storybook rendering fonts inconsistently
108
// https://www.chromatic.com/docs/font-loading/#solution-c-check-fonts-have-loaded-in-a-loader
109
const fontLoader = async () => ({
110
- fonts: await document.fonts.ready
+ fonts: await document.fonts.ready,
111
});
112
113
export const loaders = isChromatic() && document.fonts ? [fontLoader] : [];
0 commit comments