refactor all button to butto compoment

This commit is contained in:
Timur Ercan
2023-02-02 14:46:24 +01:00
parent 7255819d86
commit f503a4a3a3
11 changed files with 46 additions and 49 deletions

View File

@ -105,8 +105,7 @@ const DashboardPage: NextPageWithLayout = (props: any) => {
hidden
/>
</div>
<button
type="button"
<div
onClick={() => {
document?.getElementById("fileUploadHelper")?.click();
}}
@ -128,7 +127,7 @@ const DashboardPage: NextPageWithLayout = (props: any) => {
<span className="mt-2 block text-sm font-medium text-neon">
Upload a new PDF document
</span>
</button>
</div>
</div>
</>
);