Add type="button" to buttons

This commit is contained in:
Davenludd 2024-03-15 14:30:53 +01:00
parent a49cfc9f01
commit 855dccdfa4
4 changed files with 6 additions and 0 deletions

View file

@ -17,12 +17,14 @@ function UserEditTimeReportPage(): JSX.Element {
onClick={(): void => {
return;
}}
type="button"
/>
<Button
text="Back"
onClick={(): void => {
return;
}}
type="button"
/>
</>
);

View file

@ -18,6 +18,7 @@ function UserNewTimeReportPage(): JSX.Element {
onClick={(): void => {
return;
}}
type="button"
/>
<Link to="/project">
<Button
@ -25,6 +26,7 @@ function UserNewTimeReportPage(): JSX.Element {
onClick={(): void => {
return;
}}
type="button"
/>
</Link>
</>

View file

@ -27,6 +27,7 @@ function UserProjectPage(): JSX.Element {
onClick={(): void => {
return;
}}
type="button"
/>
</Link>
</>

View file

@ -11,6 +11,7 @@ function UserViewTimeReportsPage(): JSX.Element {
onClick={(): void => {
return;
}}
type="button"
/>
</>
);