Skip to content

Commit

Permalink
Merge pull request #26 from nairobi-gophers/pdf-fix
Browse files Browse the repository at this point in the history
removed default
  • Loading branch information
nutcas3 authored Jul 1, 2024
2 parents 3d37c6c + 9cee365 commit cc848c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frontend/src/components/Sponsors.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import React from 'react';

export default function Sponsors() {
const handleButtonClick = (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => {
event.preventDefault(); // Prevents the default behavior of the anchor tag (navigation)

};

return (
<section
Expand All @@ -22,7 +18,6 @@ export default function Sponsors() {
<a
className="button w-full md:w-auto mb-4 md:mb-0"
href="/sponsorship"
onClick={handleButtonClick} // Call the function to handle button click
>
Sponsorship Details
</a>
Expand Down

0 comments on commit cc848c0

Please sign in to comment.