Skip to content

Commit

Permalink
refactor: update section action name
Browse files Browse the repository at this point in the history
  • Loading branch information
acezard committed May 23, 2024
1 parent 40de542 commit 049e727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sections/SectionActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Icon from 'cozy-ui/transpiled/react/Icon'

const createSectionAction = (primaryText: DisplayMode): (() => Action) => {
return () => ({
name: `customAction_${primaryText}`,
name: `sectionAction_${primaryText}`,
action: (_doc, opts): void => {
opts.handleAction(primaryText)
},
Expand Down

0 comments on commit 049e727

Please sign in to comment.