mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 08:34:43 +01:00
fix download button states
This commit is contained in:
@@ -24,6 +24,7 @@ export default class BigButton extends React.Component<IProps, IState> {
|
||||
}
|
||||
|
||||
static getDerivedStateFromProps(props: IProps, state: IState) {
|
||||
console.log(props)
|
||||
return {
|
||||
disabled: props.disabled
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user