Skip to content

Commit

Permalink
feat: cleaning old dirt
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlr committed Aug 21, 2024
1 parent c0272f7 commit 5f893bd
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ui/components/ItemDetail/ItemDetailServices/getButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,7 @@ export const BuildSwipe = ({ jobs, trainings, extendedSearch, activeFilters, sel
}
}

export const getNavigationButtons = ({
goPrev,
goNext,
setSeeInfo = (t) => {
console.log(t)
},
handleClose,
}) => {
export const getNavigationButtons = ({ goPrev, goNext, handleClose }) => {
return (
<>
<Box>
Expand Down Expand Up @@ -102,7 +95,6 @@ export const getNavigationButtons = ({
<Button
{...navigationButtonProperties}
onClick={() => {
setSeeInfo(false)
handleClose()
}}
data-testid="close-detail-button"
Expand Down

0 comments on commit 5f893bd

Please sign in to comment.