Skip to content

Commit

Permalink
chore(AsideHeader): use onMenuMoreClick in different story
Browse files Browse the repository at this point in the history
  • Loading branch information
yndx-madfriend committed Oct 11, 2024
1 parent e47256c commit 9df0f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ const AdvancedUsageTemplate: StoryFn = (args) => {
'aria-label': 'Service',
}}
onChangeCompact={setCompact}
onMenuMoreClick={() => alert('onMenuMoreClick')}
qa={'pl-aside'}
{...args}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export const AsideHeaderShowcase: React.FC<AsideHeaderShowcaseProps> = ({
onChangeCompact={(v) => {
setCompact(v);
}}
onMenuMoreClick={() => console.log('onMenuMoreClick')}

Check warning on line 298 in src/components/AsideHeader/__stories__/AsideHeaderShowcase.tsx

View workflow job for this annotation

GitHub Actions / Verify Files

Unexpected console statement
/>
</div>
);
Expand Down

0 comments on commit 9df0f43

Please sign in to comment.