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 20, 2023
1 parent d41c897 commit c7dfdea
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 c7dfdea

Please sign in to comment.