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 21, 2023
1 parent 5f2ea22 commit e987498
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 e987498

Please sign in to comment.