mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-16 09:04:45 +01:00
Linting
This commit is contained in:
@@ -25,8 +25,8 @@ export class ModPages extends React.Component<IProps, IState> {
|
||||
}
|
||||
|
||||
setSelected(value: number) {
|
||||
const current = this.state.selected;
|
||||
if (current + value == 0) return;
|
||||
const current = this.state.selected
|
||||
if (current + value == 0) return
|
||||
this.setState({
|
||||
selected: current + value,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user