Skip to content

Commit 249dfd6

Browse files
committed
refactor: cleaning up the project
1 parent 251ca70 commit 249dfd6

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"editor.codeActionsOnSave": {
3-
"source.fixAll": true
3+
"source.fixAll": "explicit"
44
}
55
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"tauri:build:dev": "tauri build --debug",
1818
"tauri:update": "cd src-tauri && cargo update && cargo upgrade",
1919
"tauri:clean": "cd src-tauri && cargo clean",
20-
"specta:post-install": "pnpm run specta:codegen && pnpm run specta:build",
20+
"specta:post-install": "pnpm run specta:gen && pnpm run specta:build",
2121
"specta:build": "pnpm --stream -r specta:build",
2222
"specta:gen": "pnpm --stream -r specta:gen",
2323
"docs": "jsdoc -c jsdoc.conf.json",

src-tauri/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/src/lib/api/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ impl<R: Runtime> APIPlugin<R> {
9696
.lock()
9797
.await
9898
.post(&base_url)
99+
.header("User-Agent", "EyeTrackVR")
99100
.send()
100101
.await?
101102
.text()

src/components/AppSettings/NetworkSettings.tsx

+1-12
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,7 @@ const NetworkSettings = () => {
6868

6969
return (
7070
<div>
71-
<form action="#" class="flex grow rounded-xl flex-col pl-4 pr-4 pb-4 pt-4 bg-[#333742]">
72-
{/* <div>
73-
<div class="pb-6 pl-3 pr-3">
74-
<p class="text-start text-2xl">Network settings</p>
75-
<div class="text-white flex flex-col items-center justify-center h-full w-full p-2">
76-
<div class="card rounded-md bg-slate-700">
77-
<h1 class="text-2xl font-bold">Coming Soon</h1>
78-
<p class="mt-4 text-gray-400 text-lg">😞</p>
79-
</div>
80-
</div>
81-
</div>
82-
</div> */}
71+
<form class="flex grow rounded-xl flex-col pl-4 pr-4 pb-4 pt-4 bg-[#333742]">
8372
<div>
8473
<Input
8574
onChange={setSsid}

0 commit comments

Comments
 (0)