Skip to content

Commit

Permalink
Merge pull request #17911 from storybookjs/fix-pseudo-class-potential…
Browse files Browse the repository at this point in the history
…-unsafe-warning

UI: Pseudo class potential unsafe warning
  • Loading branch information
shilman committed Apr 8, 2022
2 parents c313cf8 + b35d409 commit 7366e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/src/blocks/Source.tsx
@@ -1,5 +1,5 @@
import React, { ComponentProps, FunctionComponent } from 'react';
import { styled, ThemeProvider, convert, themes } from '@storybook/theming';
import { styled, ThemeProvider, convert, themes, ignoreSsrWarning } from '@storybook/theming';
import { EmptyBlock } from './EmptyBlock';

import { SyntaxHighlighter } from '../syntaxhighlighter/lazy-syntaxhighlighter';
Expand Down Expand Up @@ -52,7 +52,7 @@ const SourceSkeletonPlaceholder = styled.div<{}>(({ theme }) => ({
marginTop: 1,
width: '60%',

'&:first-child': {
[`&:first-child${ignoreSsrWarning}`]: {
margin: 0,
},
}));
Expand Down

0 comments on commit 7366e9b

Please sign in to comment.