Skip to content

Commit

Permalink
don't remove shadowed name
Browse files Browse the repository at this point in the history
  • Loading branch information
seanfeld committed Sep 11, 2023
1 parent 761acce commit d190815
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export default function TransformAddButton({
setAnchorEl(event.currentTarget);
};

const handleMenuClick = (directive: 'tink' | 'rename' | 'mask') => {
const handleMenuClick = (directiveType: 'tink' | 'rename' | 'mask') => {
// set the type of directive we're using so add to transforms knows the context
setDirective(directive);
setDirective(directiveType);
};

const handleClose = () => {
Expand Down

0 comments on commit d190815

Please sign in to comment.