mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-17 01:24:36 +01:00
Improve mod browser load time
Add pages to mod browser Still WIP
This commit is contained in:
@@ -8,6 +8,7 @@ import { ModTile } from './ModTile'
|
||||
|
||||
interface IProps {
|
||||
mode: string
|
||||
page: number
|
||||
addDownload: (mod: ModData) => void
|
||||
}
|
||||
|
||||
@@ -62,7 +63,7 @@ export class ModList extends React.Component<IProps, IState> {
|
||||
return
|
||||
}
|
||||
|
||||
const mods = await getMods(this.props.mode)
|
||||
const mods = await getMods(this.props.mode, this.props.page)
|
||||
const horny = await getConfigOption('horny_mode')
|
||||
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user