Skip to content

Commit

Permalink
chore: Use className from props instead of preview style
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 8, 2020
1 parent 2f2a9b8 commit 0f96781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ReferenceExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ const ReferenceExample = ({
}

const Preview = useMemo(
() => () => (
() => ({ className }) => (
<ReferencePreview
className={styles.preview}
className={className}
style={previewStyle}
useToastManager={useToastManager}
/>
Expand Down

0 comments on commit 0f96781

Please sign in to comment.