We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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