Skip to content

Commit

Permalink
test change that will not cause snapshot change
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan committed Dec 19, 2024
1 parent e7be428 commit 4e8fe37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @navikt/core/react/src/accordion/accordion.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const SmallContent = () => (
const Item = ({ defaultOpen = false }) => (
<Accordion.Item defaultOpen={defaultOpen} onOpenChange={console.log}>
<Accordion.Header>Accordion header text</Accordion.Header>
{/* Change that will not cause snapshot change */}
{defaultOpen ? <SmallContent /> : <Content />}
</Accordion.Item>
);
Expand Down

0 comments on commit 4e8fe37

Please sign in to comment.