fix: level range 1-100 everywhere (pair slider was 1-10)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ interface PairFormProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function PairForm({ objectId, token, onSaved, onCancel }: PairFormProps) {
|
function PairForm({ objectId, token, onSaved, onCancel }: PairFormProps) {
|
||||||
const [level, setLevel] = useState(5)
|
const [level, setLevel] = useState(50)
|
||||||
const [questionDe, setQuestionDe] = useState('')
|
const [questionDe, setQuestionDe] = useState('')
|
||||||
const [statementDe, setStatementDe] = useState('')
|
const [statementDe, setStatementDe] = useState('')
|
||||||
const [words, setWords] = useState<PendingWord[]>([])
|
const [words, setWords] = useState<PendingWord[]>([])
|
||||||
@@ -84,7 +84,7 @@ function PairForm({ objectId, token, onSaved, onCancel }: PairFormProps) {
|
|||||||
Level: <strong>{level}</strong>
|
Level: <strong>{level}</strong>
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
type="range" min={1} max={10} value={level}
|
type="range" min={1} max={100} value={level}
|
||||||
onChange={e => setLevel(Number(e.target.value))}
|
onChange={e => setLevel(Number(e.target.value))}
|
||||||
style={{ width: '100%' }}
|
style={{ width: '100%' }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user