From 5b941f28cc66952176ff27e604e05ae5cc316a24 Mon Sep 17 00:00:00 2001 From: Liam Stevens <8955671+liamstevens111@users.noreply.github.com> Date: Thu, 16 Mar 2023 15:24:13 +0700 Subject: [PATCH] [#26] Change function return type --- src/components/SurveyList/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SurveyList/index.tsx b/src/components/SurveyList/index.tsx index 8916bfb..3866b46 100644 --- a/src/components/SurveyList/index.tsx +++ b/src/components/SurveyList/index.tsx @@ -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 (