Skip to content

Commit 8a175bf

Browse files
committed
refactor: minor refactoring
- run formatter
1 parent 7726e08 commit 8a175bf

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

GUI/ETVR/src/app.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const handleTitlebar = () => {
2121
}
2222

2323
const handleAppBoot = () => {
24-
document.documentElement.style.setProperty('--window-opacity', '0')
2524
document.addEventListener('DOMContentLoaded', () => {
2625
invoke('get_user')
2726
.then((config) => {
@@ -53,7 +52,7 @@ const Menu = () => {
5352
)
5453
}
5554

56-
const app = () => {
55+
const App = () => {
5756
const ref = document.getElementById('titlebar')
5857
injectCriticalStyle()
5958
onMount(() => {
@@ -75,4 +74,4 @@ const app = () => {
7574
)
7675
}
7776

78-
export default app
77+
export default App

GUI/ETVR/src/components/header/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface Iprops {
88

99
export default function Header(props: Iprops) {
1010
return (
11-
<header class='pr-4 pl-4 grow content-center'>
11+
<header class="pr-4 pl-4 grow content-center">
1212
<div class="flex grow justify-between items-center mt-[1rem]">
1313
<div>
1414
<Logo />

GUI/ETVR/src/store/ui/ui.ts

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ interface IUiStore {
2525
menuOpen?: IMenuOpen | null
2626
}
2727

28-
2928
export const defaultState = {
3029
loader: { [loaderType.MDNS_CONNECTING]: false, [loaderType.REST_CLIENT]: false },
3130
connecting: false,

GUI/ETVR/src/vite-env.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
declare module '*.scss'
77
declare module '*.png'
88
declare module '*.jpeg'
9-
declare module '*.svg'
9+
declare module '*.svg'

0 commit comments

Comments
 (0)