Skip to content

Commit 25fd7ae

Browse files
committed
Format
1 parent b21e2dd commit 25fd7ae

File tree

4 files changed

+15
-27
lines changed

4 files changed

+15
-27
lines changed

apps/desktop/src-tauri/tauri.conf.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
"tauri": {
1414
"updater": {
1515
"active": true,
16-
"endpoints": [
17-
"https://update.overlayed.dev/{{target}}/{{arch}}/{{current_version}}"
18-
],
16+
"endpoints": ["https://update.overlayed.dev/{{target}}/{{arch}}/{{current_version}}"],
1917
"dialog": false,
2018
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM5MDVDNEVFQTc2QzJBNDYKUldSR0tteW43c1FGeVhzUm9vNEJKUkFyUXhSS2lrZWRuV1p1VWx5Tkg5bUhEWDZrOGprbGNnWkQK"
2119
},
@@ -38,19 +36,15 @@
3836
"open": ".*"
3937
},
4038
"fs": {
41-
"scope": [
42-
"$APPDATA/*"
43-
],
39+
"scope": ["$APPDATA/*"],
4440
"readFile": true,
4541
"writeFile": true,
4642
"exists": true
4743
},
4844
"http": {
4945
"all": true,
5046
"request": true,
51-
"scope": [
52-
"https://streamkit.discord.com/overlay/token"
53-
]
47+
"scope": ["https://streamkit.discord.com/overlay/token"]
5448
},
5549
"path": {
5650
"all": true
@@ -69,11 +63,7 @@
6963
"active": true,
7064
"targets": "all",
7165
"identifier": "com.hacksore.overlayed",
72-
"icon": [
73-
"icons/icon.icns",
74-
"icons/icon.ico",
75-
"icons/icon.png"
76-
]
66+
"icon": ["icons/icon.icns", "icons/icon.ico", "icons/icon.png"]
7767
},
7868
"security": {
7969
"csp": null
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as React from "react"
2-
import * as CheckboxPrimitive from "@radix-ui/react-checkbox"
3-
import { Check } from "lucide-react"
1+
import * as React from "react";
2+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3+
import { Check } from "lucide-react";
44

5-
import { cn } from "@/lib/utils"
5+
import { cn } from "@/lib/utils";
66

77
const Checkbox = React.forwardRef<
88
React.ElementRef<typeof CheckboxPrimitive.Root>,
@@ -16,13 +16,11 @@ const Checkbox = React.forwardRef<
1616
)}
1717
{...props}
1818
>
19-
<CheckboxPrimitive.Indicator
20-
className={cn("flex items-center justify-center text-current")}
21-
>
19+
<CheckboxPrimitive.Indicator className={cn("flex items-center justify-center text-current")}>
2220
<Check className="h-4 w-4" />
2321
</CheckboxPrimitive.Indicator>
2422
</CheckboxPrimitive.Root>
25-
))
26-
Checkbox.displayName = CheckboxPrimitive.Root.displayName
23+
));
24+
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
2725

28-
export { Checkbox }
26+
export { Checkbox };

apps/desktop/src/views/settings/account.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const Account = () => {
1919
const [showLogoutDialog, setShowLogoutDialog] = useState(false);
2020
const [showQuitDialog, setShowQuitDialog] = useState(false);
2121
// TODO: type this
22-
const [user, setUser] = useState < any > (null);
22+
const [user, setUser] = useState<any>(null);
2323
const [tokenExpires, setTokenExpires] = useState(localStorage.getItem("discord_access_token_expiry"));
2424

2525
// pull out the user data from localStorage
@@ -55,7 +55,7 @@ export const Account = () => {
5555
{user?.id ? (
5656
<div>
5757
<img
58-
style={{ width: 96, height: 96}}
58+
style={{ width: 96, height: 96 }}
5959
src={`https://cdn.discordapp.com/avatars/${user?.id}/${user?.avatar}.png`}
6060
alt="user avatar"
6161
/>

apps/desktop/src/views/settings/join-history.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Checkbox } from "@/components/ui/checkbox";
1111

1212
const MAX_LOG_LENGTH = 420;
1313
export const JoinHistory = () => {
14-
const [userLog, setUserLog] = useState < any[] > ([]);
14+
const [userLog, setUserLog] = useState<any[]>([]);
1515
const { toast } = useToast();
1616

1717
const createdListener = useRef(false);

0 commit comments

Comments
 (0)