@@ -14,12 +14,13 @@ interface InstallStatus {
14
14
}
15
15
16
16
const InstallationStep : React . FC = ( ) => {
17
- const { config } = useConfig ( ) ;
17
+ const { config, prototypeSettings } = useConfig ( ) ;
18
18
const { text } = useWizardMode ( ) ;
19
19
const [ showAdminLink , setShowAdminLink ] = useState ( false ) ;
20
20
const [ error , setError ] = useState < string | null > ( null ) ;
21
21
const [ isLoading , setIsLoading ] = useState ( true ) ;
22
22
const { token } = useAuth ( ) ;
23
+ const themeColor = prototypeSettings . themeColor
23
24
24
25
const { data : installStatus } = useQuery < InstallStatus , Error > ( {
25
26
queryKey : [ "installStatus" ] ,
@@ -73,11 +74,6 @@ const InstallationStep: React.FC = () => {
73
74
< p className = "text-lg font-medium text-gray-900" > Please wait while we complete the installation...</ p >
74
75
< p className = "text-sm text-gray-500 mt-2" > This may take a few minutes.</ p >
75
76
{ installStatus ?. description && < p className = "text-sm text-gray-500 mt-2" > { installStatus . description } </ p > }
76
- { installStatus ?. lastUpdated && (
77
- < p className = "text-xs text-gray-400 mt-1" >
78
- Last updated: { new Date ( installStatus . lastUpdated ) . toLocaleString ( ) }
79
- </ p >
80
- ) }
81
77
</ div >
82
78
) }
83
79
@@ -91,7 +87,7 @@ const InstallationStep: React.FC = () => {
91
87
{ showAdminLink && (
92
88
< div className = "flex flex-col items-center justify-center mb-6" >
93
89
< div className = "w-16 h-16 rounded-full flex items-center justify-center mb-6" >
94
- < CheckCircle className = "w-10 h-10" style = { { color : "blue" } } />
90
+ < CheckCircle className = "w-10 h-10" style = { { color : themeColor } } />
95
91
</ div >
96
92
< p className = "text-gray-600 mt-4" >
97
93
Visit the Admin Console to configure and install { text . installationTitle }
0 commit comments