Skip to content

Commit

Permalink
fix: resolve style issues in audio player
Browse files Browse the repository at this point in the history
  • Loading branch information
田丰 committed Jan 24, 2025
1 parent b0a54ec commit 69a638a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/semi-ui/audioPlayer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ class AudioPlayer extends BaseComponent<AudioPlayerProps, AudioPlayerState> {
onClick={() => this.handleSeek(1)}
/>
</Tooltip>
<Dropdown render={<Dropdown.Menu className={cls(`${prefixCls}-control-speed-menu`)}>
<Dropdown className={cls(`${prefixCls}-control-speed-menu`)} render={<Dropdown.Menu>
{this.rateOptions.map((option) => (
<Dropdown.Item className={cls(`${prefixCls}-control-speed-menu-item`)} key={option.value} onClick={() => this.handleSpeedChange(option)} active={option.value === this.state.currentRate.value}>
{option.label}
Expand Down

0 comments on commit 69a638a

Please sign in to comment.