fix: update signin dan signup
This commit is contained in:
@@ -105,13 +105,13 @@ const SignIn = () => {
|
|||||||
<br />
|
<br />
|
||||||
<Form layout="vertical" style={{ width: '250px' }} onFinish={handleOnSubmit}>
|
<Form layout="vertical" style={{ width: '250px' }} onFinish={handleOnSubmit}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
label="Email"
|
label="Email / Username"
|
||||||
name="email"
|
name="email"
|
||||||
rules={[
|
rules={[
|
||||||
{ required: true, type: 'email', message: 'Email tidak boleh kosong' },
|
{ required: true, type: 'email', message: 'Email tidak boleh kosong' },
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Input placeholder="Email" size="large" />
|
<Input placeholder="Email / Username" size="large" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|||||||
@@ -128,8 +128,8 @@ const SignUp = () => {
|
|||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item label="name" name="name" rules={[{ required: true }]}>
|
<Form.Item label="Name" name="name" rules={[{ required: true }]}>
|
||||||
<Input placeholder="name" size="large" />
|
<Input placeholder="Name" size="large" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|||||||
Reference in New Issue
Block a user