chore: upgrade oxlint to v0.13.2 (#8891)

Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
Boshen
2024-11-26 17:56:35 +08:00
committed by GitHub
parent d87a6f7068
commit c349a24e95
35 changed files with 139 additions and 117 deletions

View File

@@ -159,11 +159,11 @@ export const OnboardingPage = ({
<div className={styles.optionsWrapper}>
{question.options &&
question.options.length > 0 &&
question.options.map((option, optionIndex) => {
question.options.map(option => {
if (option.type === 'checkbox') {
return (
<Checkbox
key={optionIndex}
key={option.label}
name={option.value}
className={styles.checkBox}
labelClassName={styles.label}
@@ -184,7 +184,7 @@ export const OnboardingPage = ({
} else if (option.type === 'input') {
return (
<Input
key={optionIndex}
key={option.label}
className={styles.input}
type="text"
size="large"