File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ async function setupApp() {
29
29
if ( ! container ) return ;
30
30
31
31
const root = createRoot ( container ) ;
32
+
32
33
root . render (
33
34
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
34
35
// @ts -ignore
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const GlobalLoading = memo(() => {
13
13
] ;
14
14
15
15
return (
16
- < div className = "fixed-center flex-col bg-layout " >
16
+ < div className = "fixed-center flex-col" >
17
17
< SystemLogo className = "size-128px text-primary" />
18
18
< div className = "my-36px h-56px w-56px" >
19
19
< div className = "relative h-full animate-spin" >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { createElement } from 'react';
4
4
import { $t } from '../locales' ;
5
5
6
6
export function setupAppVersionNotification ( ) {
7
- const canAutoUpdateApp = import . meta. env . VITE_AUTOMATICALLY_DETECT_UPDATE === 'Y' ;
7
+ const canAutoUpdateApp = import . meta. env . VITE_AUTOMATICALLY_DETECT_UPDATE === 'Y' && import . meta . env . PROD ;
8
8
9
9
if ( ! canAutoUpdateApp ) return ;
10
10
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export function setupLoading() {
36
36
. join ( '\n' ) ;
37
37
38
38
const loading = `
39
- <div class="fixed-center bg-layout flex-col" style="${ primaryColor } ">
39
+ <div class="fixed-center flex-col" style="${ primaryColor } ">
40
40
${ logoWithClass }
41
41
<div class="w-56px h-56px my-36px">
42
42
<div class="relative h-full animate-spin">
You can’t perform that action at this time.
0 commit comments