mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-01 14:33:38 +00:00
Fix hotkey warning
This commit is contained in:
parent
ceb4eeaf2f
commit
ce8f1a1821
2 changed files with 3 additions and 2 deletions
|
|
@ -63,7 +63,8 @@ export const Node = props => {
|
|||
};
|
||||
|
||||
Node.propTypes = {
|
||||
label: PropTypes.string.isRequired
|
||||
label: PropTypes.string.isRequired,
|
||||
hotkey: PropTypes.string
|
||||
};
|
||||
|
||||
export class ContextMenu extends React.Component {
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ const MainContextMenu = props => (
|
|||
label={props.genWindows[i].title}
|
||||
checked={props.genWindows[i].open}
|
||||
onClick={() => props.toggleGenWindow(i)}
|
||||
hotKey={() => props.genWindows[i].hotkey}
|
||||
hotkey={props.genWindows[i].hotkey}
|
||||
/>
|
||||
))}
|
||||
<Hr />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue