confusing buttons removed

This commit is contained in:
Adrian Pirela 2021-07-25 20:00:49 -05:00 committed by Jinho Jang
parent 645e98b29e
commit d436a67519
1 changed files with 1 additions and 13 deletions

View File

@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { FormattedMessage } from 'react-intl';
import ScrollableAnchor from 'react-scrollable-anchor'
import { Steps, Button } from 'antd';
import { Steps } from 'antd';
const { Step } = Steps;
@ -67,18 +67,6 @@ const Tutorial = () => {
<Step key={item.title} title={item.title} />
))}
</Steps>
<div className="steps-action">
{current < steps.length - 1 && (
<Button type="primary" onClick={() => setCurrent(current + 1)}>
Next
</Button>
)}
{current > 0 && (
<Button style={{ marginLeft: 8 }} onClick={() => setCurrent(current - 1)}>
Previous
</Button>
)}
</div>
<div className="steps-content">{steps[current].content}</div>
</div>
</div>