File tree Expand file tree Collapse file tree 4 files changed +15
-27
lines changed Expand file tree Collapse file tree 4 files changed +15
-27
lines changed Original file line number Diff line number Diff line change 13
13
"tauri" : {
14
14
"updater" : {
15
15
"active" : true ,
16
- "endpoints" : [
17
- " https://update.overlayed.dev/{{target}}/{{arch}}/{{current_version}}"
18
- ],
16
+ "endpoints" : [" https://update.overlayed.dev/{{target}}/{{arch}}/{{current_version}}" ],
19
17
"dialog" : false ,
20
18
"pubkey" : " dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM5MDVDNEVFQTc2QzJBNDYKUldSR0tteW43c1FGeVhzUm9vNEJKUkFyUXhSS2lrZWRuV1p1VWx5Tkg5bUhEWDZrOGprbGNnWkQK"
21
19
},
38
36
"open" : " .*"
39
37
},
40
38
"fs" : {
41
- "scope" : [
42
- " $APPDATA/*"
43
- ],
39
+ "scope" : [" $APPDATA/*" ],
44
40
"readFile" : true ,
45
41
"writeFile" : true ,
46
42
"exists" : true
47
43
},
48
44
"http" : {
49
45
"all" : true ,
50
46
"request" : true ,
51
- "scope" : [
52
- " https://streamkit.discord.com/overlay/token"
53
- ]
47
+ "scope" : [" https://streamkit.discord.com/overlay/token" ]
54
48
},
55
49
"path" : {
56
50
"all" : true
69
63
"active" : true ,
70
64
"targets" : " all" ,
71
65
"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" ]
77
67
},
78
68
"security" : {
79
69
"csp" : null
Original file line number Diff line number Diff line change 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" ;
4
4
5
- import { cn } from "@/lib/utils"
5
+ import { cn } from "@/lib/utils" ;
6
6
7
7
const Checkbox = React . forwardRef <
8
8
React . ElementRef < typeof CheckboxPrimitive . Root > ,
@@ -16,13 +16,11 @@ const Checkbox = React.forwardRef<
16
16
) }
17
17
{ ...props }
18
18
>
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" ) } >
22
20
< Check className = "h-4 w-4" />
23
21
</ CheckboxPrimitive . Indicator >
24
22
</ CheckboxPrimitive . Root >
25
- ) )
26
- Checkbox . displayName = CheckboxPrimitive . Root . displayName
23
+ ) ) ;
24
+ Checkbox . displayName = CheckboxPrimitive . Root . displayName ;
27
25
28
- export { Checkbox }
26
+ export { Checkbox } ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export const Account = () => {
19
19
const [ showLogoutDialog , setShowLogoutDialog ] = useState ( false ) ;
20
20
const [ showQuitDialog , setShowQuitDialog ] = useState ( false ) ;
21
21
// TODO: type this
22
- const [ user , setUser ] = useState < any > ( null ) ;
22
+ const [ user , setUser ] = useState < any > ( null ) ;
23
23
const [ tokenExpires , setTokenExpires ] = useState ( localStorage . getItem ( "discord_access_token_expiry" ) ) ;
24
24
25
25
// pull out the user data from localStorage
@@ -55,7 +55,7 @@ export const Account = () => {
55
55
{ user ?. id ? (
56
56
< div >
57
57
< img
58
- style = { { width : 96 , height : 96 } }
58
+ style = { { width : 96 , height : 96 } }
59
59
src = { `https://cdn.discordapp.com/avatars/${ user ?. id } /${ user ?. avatar } .png` }
60
60
alt = "user avatar"
61
61
/>
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { Checkbox } from "@/components/ui/checkbox";
11
11
12
12
const MAX_LOG_LENGTH = 420 ;
13
13
export const JoinHistory = ( ) => {
14
- const [ userLog , setUserLog ] = useState < any [ ] > ( [ ] ) ;
14
+ const [ userLog , setUserLog ] = useState < any [ ] > ( [ ] ) ;
15
15
const { toast } = useToast ( ) ;
16
16
17
17
const createdListener = useRef ( false ) ;
You can’t perform that action at this time.
0 commit comments