Skip to content

Commit

Permalink
fix(sounds): with bleeps component name
Browse files Browse the repository at this point in the history
  • Loading branch information
romelperez committed Feb 13, 2021
1 parent 5da5b40 commit 4cd8006
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/sounds/src/withBleeps/withBleeps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ const withBleeps = <C extends ComponentType<P>, P extends WithBleepsInputProps =
});
});

const componentName = InputComponent.displayName || InputComponent.name || 'Component';
OutputComponent.displayName = `withBleeps(${componentName})`;

return OutputComponent;
};

Expand Down

0 comments on commit 4cd8006

Please sign in to comment.