Skip to content

Commit

Permalink
fix: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia committed Feb 8, 2024
1 parent 5453da7 commit 94569db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ItemEditorPage/RightPanel/RightPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class RightPanel extends React.PureComponent<Props, State> {
}

handleChangeReplaces = (replaces: HideableWearableCategory[]) => {
const data = this.setReplaces((this.state.data as WearableData), replaces)
const data = this.setReplaces(this.state.data as WearableData, replaces)
this.setState({ data, isDirty: this.isDirty({ data }) })
}

Expand All @@ -219,7 +219,7 @@ export default class RightPanel extends React.PureComponent<Props, State> {
hides = [...currentHides.filter(cat => !BodyPartCategory.schema.enum.includes(cat)), ...value]
}

const data = this.setHides((this.state.data as WearableData), hides)
const data = this.setHides(this.state.data as WearableData, hides)
this.setState({ data, isDirty: this.isDirty({ data }) })
}

Expand Down

0 comments on commit 94569db

Please sign in to comment.