File tree 6 files changed +7
-7
lines changed 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const getDiffValue = (value: unknown): string => {
19
19
return "null"
20
20
}
21
21
22
- return value . toString ( )
22
+ return String ( value )
23
23
}
24
24
25
25
export const AuditLogDiff : FC < { diff : AuditLog [ "diff" ] } > = ( { diff } ) => {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export const VSCodeIcon = (props: SvgIconProps) => (
5
5
< svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 100 100" fill = "none" >
6
6
< mask
7
7
id = "vscode_mask0"
8
- mask-type = "alpha"
8
+ style = { { maskType : "alpha" } }
9
9
maskUnits = "userSpaceOnUse"
10
10
x = "0"
11
11
y = "0"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const VSCodeInsidersIcon = (props: SvgIconProps) => (
11
11
>
12
12
< mask
13
13
id = "mask0"
14
- mask-type = "alpha"
14
+ style = { { maskType : "alpha" } }
15
15
maskUnits = "userSpaceOnUse"
16
16
x = "0"
17
17
y = "0"
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export const LicenseBannerView: React.FC<LicenseBannerViewProps> = ({
65
65
< Expander expanded = { showDetails } setExpanded = { setShowDetails } >
66
66
< ul className = { styles . list } >
67
67
{ messages . map ( ( message ) => (
68
- < li className = { styles . listItem } key = { ` ${ message } ` } >
68
+ < li className = { styles . listItem } key = { message } >
69
69
{ message }
70
70
</ li >
71
71
) ) }
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export const ServiceBannerView: React.FC<ServiceBannerViewProps> = ({
31
31
]
32
32
return (
33
33
< div
34
- className = { ` ${ styles . container } ` }
34
+ className = { styles . container }
35
35
style = { { backgroundColor : backgroundColor } }
36
36
>
37
37
{ preview && < Pill text = "Preview" type = "info" lightBorder /> }
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export const useProxyLatency = (
135
135
// dispatchProxyLatenciesGuarded will assign the latency to the proxy
136
136
// via the reducer. But it will only do so if the performance entry is
137
137
// a resource entry that we care about.
138
- const dispatchProxyLatenciesGuarded = ( entry : PerformanceEntry ) : void => {
138
+ const dispatchProxyLatenciesGuarded = ( entry : PerformanceEntry ) => {
139
139
if ( entry . entryType !== "resource" ) {
140
140
// We should never get these, but just in case.
141
141
return
@@ -208,7 +208,7 @@ export const useProxyLatency = (
208
208
} )
209
209
210
210
// When all the proxy requests finish
211
- Promise . all ( proxyRequests )
211
+ void Promise . all ( proxyRequests )
212
212
// TODO: If there is an error on any request, we might want to store some indicator of that?
213
213
. finally ( ( ) => {
214
214
// takeRecords will return any entries that were not called via the callback yet.
You can’t perform that action at this time.
0 commit comments