🧼
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Content } from 'antd/lib/layout/layout'
|
||||
import React, { FormEvent } from 'react'
|
||||
import { useState } from 'react'
|
||||
import { useHistory } from 'react-router-dom'
|
||||
@@ -37,7 +38,7 @@ export const Dashboard = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Content>
|
||||
<h1>Dashboard</h1>
|
||||
<form onSubmit={handleSubmit}>
|
||||
<label htmlFor="name">
|
||||
@@ -72,6 +73,6 @@ export const Dashboard = () => {
|
||||
</button>
|
||||
{error && <p className="error">{error}</p>}
|
||||
</form>
|
||||
</div>
|
||||
</Content>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user