Skip to content

Commit

Permalink
Fix Category & Gif buttons subbmiting forms (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
sahilverma-dev authored Jun 18, 2024
1 parent ad419c2 commit e10269a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/body/Category.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function Category({ image, text, onClick}: CategoryProps): JSX.Element {

return (
<button
type="button"
className='gpr-btn gpr-category'
style={{height: settings.categoryHeight}}
data-testid='gpr-category'
Expand Down
1 change: 1 addition & 0 deletions src/components/body/ResultImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function ResultImage({ image, searchTerm }: ResultImageProps): JSX.Element {

return (
<button
type="button"
className='gpr-btn gpr-result-image'
onClick={onClick}
>
Expand Down

0 comments on commit e10269a

Please sign in to comment.