mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
fix bg file path not showing
This commit is contained in:
@@ -30,12 +30,6 @@ export default class TextInput extends React.Component<IProps, IState> {
|
||||
}
|
||||
|
||||
static getDerivedStateFromProps(props: IProps, state: IState) {
|
||||
if (!props.readOnly) {
|
||||
return {
|
||||
value: state.value
|
||||
}
|
||||
}
|
||||
|
||||
return { value: props.value || '' }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user