This repository was archived by the owner on Feb 10, 2025. It is now read-only.
File tree 2 files changed +4
-3
lines changed
src/features/checker/pages
SubmitApplicationEvaluationPage
SubmitFinalEvaluationPage
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ export const SubmitApplicationEvaluationPage = ({
226
226
< h1 className = "text-3xl font-medium leading-9" > Evaluate { project . title } </ h1 >
227
227
< div className = "h-0.5 bg-[#EAEAEA]" />
228
228
< div className = "flex gap-2" >
229
- < div className = "flex w-[628px ] flex-col gap-4" >
229
+ < div className = "flex w-full max-w-[600px ] flex-col gap-4" >
230
230
< Accordion
231
231
header = {
232
232
< IconLabel
@@ -320,7 +320,7 @@ export const SubmitApplicationEvaluationPage = ({
320
320
/>
321
321
</ div >
322
322
323
- < div className = "w-[628px] rounded-[20px] border border-gray-100 p-5" >
323
+ < div className = "rounded-[20px] border border-gray-100 p-5" >
324
324
< EvaluationForm groups = { groups } onSubmit = { handleSubmit } />
325
325
</ div >
326
326
</ div >
Original file line number Diff line number Diff line change @@ -80,10 +80,11 @@ export const SubmitFinalEvaluationPage = ({
80
80
} , [ steps ] ) ;
81
81
82
82
useEffect ( ( ) => {
83
- if ( success ) {
83
+ if ( success && isModalOpen ) {
84
84
setReviewBody ( null ) ;
85
85
setIsModalOpen ( false ) ;
86
86
toast ( { status : "success" , description : "Your evaluations have been submitted" } ) ;
87
+ dispatch ( goToReviewApplicationsAction ( ) ) ;
87
88
}
88
89
if ( error ) {
89
90
setReviewBody ( null ) ;
You can’t perform that action at this time.
0 commit comments