File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ function handleSlowClick(
101
101
const breadcrumb = {
102
102
message : clickBreadcrumb . message ,
103
103
timestamp : clickBreadcrumb . timestamp ,
104
- category : 'ui.slowClickDetected' as const ,
104
+ category : 'ui.slowClickDetected' ,
105
105
data : {
106
106
...clickBreadcrumb . data ,
107
107
url : WINDOW . location . href ,
Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ export class ReplayContainer implements ReplayContainerInterface {
748
748
*/
749
749
private _handleWindowBlur : ( ) => void = ( ) => {
750
750
const breadcrumb = createBreadcrumb ( {
751
- category : 'ui.blur' as const ,
751
+ category : 'ui.blur' ,
752
752
} ) ;
753
753
754
754
// Do not count blur as a user action -- it's part of the process of them
@@ -761,7 +761,7 @@ export class ReplayContainer implements ReplayContainerInterface {
761
761
*/
762
762
private _handleWindowFocus : ( ) => void = ( ) => {
763
763
const breadcrumb = createBreadcrumb ( {
764
- category : 'ui.focus' as const ,
764
+ category : 'ui.focus' ,
765
765
} ) ;
766
766
767
767
// Do not count focus as a user action -- instead wait until they focus and
@@ -1064,7 +1064,7 @@ export class ReplayContainer implements ReplayContainerInterface {
1064
1064
// We can show this in the UI as an information with potential performance improvements
1065
1065
if ( count > mutationBreadcrumbLimit || overMutationLimit ) {
1066
1066
const breadcrumb = createBreadcrumb ( {
1067
- category : 'replay.mutations' as const ,
1067
+ category : 'replay.mutations' ,
1068
1068
data : {
1069
1069
count,
1070
1070
limit : overMutationLimit ,
You can’t perform that action at this time.
0 commit comments