Skip to content

Commit

Permalink
[#26] Change function return type
Browse files Browse the repository at this point in the history
  • Loading branch information
liamstevens111 committed Mar 16, 2023
1 parent 254cd38 commit 9c9ef67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SurveyList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'swiper/swiper-bundle.min.css';
import SurveyComponent from 'components/Survey';
import { Survey } from 'types/Survey';

type SurveyListProps = { surveys: Survey[]; onPageChange: any };
type SurveyListProps = { surveys: Survey[]; onPageChange: () => void };

function SurveyList({ surveys, onPageChange }: SurveyListProps) {
return (
Expand Down

0 comments on commit 9c9ef67

Please sign in to comment.