chore: rename lastStep to previousStep (#2759)

This commit is contained in:
crazywoola
2024-03-08 19:27:02 +08:00
committed by GitHub
parent 60e7e17c86
commit bbc0d330a9
6 changed files with 6 additions and 6 deletions

View File

@@ -838,7 +838,7 @@ const StepTwo = ({
{!isSetting
? (
<div className='flex items-center mt-8 py-2'>
<Button onClick={() => onStepChange && onStepChange(-1)}>{t('datasetCreation.stepTwo.lastStep')}</Button>
<Button onClick={() => onStepChange && onStepChange(-1)}>{t('datasetCreation.stepTwo.previousStep')}</Button>
<div className={s.divider} />
<Button loading={isCreating} type='primary' onClick={createHandle}>{t('datasetCreation.stepTwo.nextStep')}</Button>
</div>