Skip to content

Commit

Permalink
Merge pull request #69 from private-attribution/button-type
Browse files Browse the repository at this point in the history
add button="type" where missing
  • Loading branch information
eriktaubeneck authored Jul 8, 2024
2 parents 17878b6 + 042de41 commit dbf167d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/app/login/GitHubOAuthComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default function GitHubOAuthComponent() {

return (
<button
type="button"
onClick={handleGitHubLogin}
className="flex w-full items-center justify-center gap-3 rounded-md bg-[#24292F] px-3 py-2 text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#24292F]"
>
Expand Down
1 change: 1 addition & 0 deletions server/app/query/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ function IPAForm({
/>
</div>
<button
type="button"
className="relative ml-1 cursor-default rounded-md bg-white px-3 py-2.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-600 sm:text-sm sm:leading-6"
onClick={(e) => {
e.preventDefault();
Expand Down
2 changes: 2 additions & 0 deletions server/app/query/view/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export default function QueryPage({ params }: { params: { id: string } }) {

<div className="mx-auto mt-10 w-full max-w-7xl overflow-hidden rounded-lg bg-slate-50 text-left shadow dark:bg-slate-950">
<button
type="button"
onClick={flipStatsHidden}
className="size-full border-b border-gray-300 dark:border-gray-700"
>
Expand Down Expand Up @@ -246,6 +247,7 @@ export default function QueryPage({ params }: { params: { id: string } }) {
})}

<button
type="button"
onClick={flipLogsHidden}
className="size-full border-b border-gray-300 dark:border-gray-700"
>
Expand Down

0 comments on commit dbf167d

Please sign in to comment.