File tree Expand file tree Collapse file tree 2 files changed +22
-15
lines changed Expand file tree Collapse file tree 2 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 28
28
line-height : 1.5rem ;
29
29
background-color : transparent ;
30
30
}
31
+
32
+ .actions {
33
+ display : flex ;
34
+ justify-content : center ;
35
+ }
31
36
}
Original file line number Diff line number Diff line change @@ -50,21 +50,23 @@ const ErrorPage = () => {
50
50
</ >
51
51
: < h1 > Something went wrong! Please try again.</ h1 >
52
52
}
53
- { isCustomScan
54
- ? (
55
- < >
56
- < button role = "link" id = 'back-to-home-btn' onClick = { handleBackToHome } >
57
- < img src = { returnIcon } > </ img >
58
- Back To Home
59
- </ button >
60
- < Button id = "replay-btn" type = "btn-primary" onClick = { replayCustomFlow } >
61
- Replay
62
- </ Button >
63
- </ >
64
- )
65
- : < Button role = "link" type = "btn-primary" onClick = { handleBackToHome } >
66
- Try Again
67
- </ Button > }
53
+ < div class = "actions" >
54
+ { isCustomScan
55
+ ? (
56
+ < >
57
+ < button role = "link" id = 'back-to-home-btn' onClick = { handleBackToHome } >
58
+ < img src = { returnIcon } > </ img >
59
+ Back To Home
60
+ </ button >
61
+ < Button id = "replay-btn" type = "btn-primary" onClick = { replayCustomFlow } >
62
+ Replay
63
+ </ Button >
64
+ </ >
65
+ )
66
+ : < Button role = "link" type = "btn-primary" onClick = { handleBackToHome } >
67
+ Try Again
68
+ </ Button > }
69
+ </ div >
68
70
</ div >
69
71
) ;
70
72
} ;
You can’t perform that action at this time.
0 commit comments