✨ reload state when change page
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
		
							parent
							
								
									0adc35176b
								
							
						
					
					
						commit
						778910ac69
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -38,8 +38,10 @@ | |||
| <div class="flex flex-col h-full"> | ||||
|     <FormHeader questionNum={questionNumber} formQuestion={formQuestion}/> | ||||
|     <div class="flex h-full justify-between gap-12"> | ||||
|         <AnswerBox answerNum={1} answerText={questionAnswer1}/> | ||||
|         <AnswerBox answerNum={2} answerText={questionAnswer2}/> | ||||
|         {#key questionNumber}      | ||||
|             <AnswerBox answerNum={1} answerText={questionAnswer1}/> | ||||
|             <AnswerBox answerNum={2} answerText={questionAnswer2}/> | ||||
|         {/key} | ||||
|     </div> | ||||
|     <Footer questionNum={Number(questionNumber)}/> | ||||
| </div> | ||||
		Reference in a new issue
	
	 haraldnilsen
						haraldnilsen