mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-17 01:24:36 +01:00
Fix reusable react components duplicate id... dumbass
This commit is contained in:
@@ -86,7 +86,7 @@ export default class DirInput extends React.Component<IProps, IState> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className='DirInput' id='commonDirInputContainer'>
|
||||
<div className='DirInput'>
|
||||
<TextInput
|
||||
id='commonDirInputText'
|
||||
value={this.state.value}
|
||||
@@ -100,8 +100,8 @@ export default class DirInput extends React.Component<IProps, IState> {
|
||||
}}
|
||||
customClearBehaviour={this.props.customClearBehaviour}
|
||||
/>
|
||||
<div className="FileSelectIcon" id="commonDirInputFileSelContainer" onClick={this.handleIconClick}>
|
||||
<img id="commonDirInputFileSelIcon" src={File} />
|
||||
<div className="FileSelectIcon" onClick={this.handleIconClick}>
|
||||
<img src={File} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user