File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const QuizExamForm: FC<Props> = ({
4545} ) => {
4646 const [ showCorrectAnswer , setShowCorrectAnswer ] = useState < boolean > ( false ) ;
4747 const [ savedAnswers , setSavedAnswers ] = useState < any > ( [ ] ) ;
48- const { points, reCount } = useResults ( savedAnswers ) ;
48+ const { points, reCount } = useResults ( ) ;
4949 const [ selectedImage , setSelectedImage ] = useState < {
5050 url : string ;
5151 alt : string ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export type ResultsHook = {
1111 reCount : ( data : ResultsData ) => void ;
1212} ;
1313
14- const useResults = ( data : ResultsData ) : ResultsHook => {
14+ const useResults = ( ) : ResultsHook => {
1515 const [ points , setPoints ] = useState ( 0 ) ;
1616
1717 const countPoints = ( data : ResultsData ) => {
You can’t perform that action at this time.
0 commit comments