mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
fix commands and stylign
This commit is contained in:
@@ -58,14 +58,15 @@ class App extends React.Component<IProps, IState> {
|
||||
}}
|
||||
downFunc={() => {
|
||||
this.setState({ miniDownloadsOpen: !this.state.miniDownloadsOpen })
|
||||
console.log(this.state.miniDownloadsOpen)
|
||||
}}
|
||||
/>
|
||||
|
||||
{
|
||||
// Mini downloads section
|
||||
this.state.miniDownloadsOpen ?
|
||||
<MiniDialog>
|
||||
<MiniDialog closeFn={() => {
|
||||
this.setState({ miniDownloadsOpen: false })
|
||||
}}>
|
||||
<DownloadList downloadManager={downloadHandler} />
|
||||
</MiniDialog> : null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user