fix download button states

This commit is contained in:
SpikeHD
2022-05-14 00:49:33 -07:00
parent 3c68b67aff
commit 7ce631483a
2 changed files with 16 additions and 6 deletions

View File

@@ -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
}