mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 09:12:02 +10:00
refactor all button to butto compoment
This commit is contained in:
@ -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>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user