mirror of
https://github.com/chenasraf/clarity.git
synced 2026-05-18 01:48:58 +00:00
remove brackets
This commit is contained in:
@@ -73,8 +73,8 @@ export function decode(tokens: Data.Token[]): InteractionEvent {
|
||||
target: tokens[2] as number,
|
||||
x: tokens[3] as number,
|
||||
y: tokens[4] as number,
|
||||
top: tokens.length > 5 ? (tokens[5] as string) : null,
|
||||
bottom: tokens.length > 6 ? (tokens[6] as string) : null
|
||||
top: tokens.length > 5 ? tokens[5] as string : null,
|
||||
bottom: tokens.length > 6 ? tokens[6] as string : null
|
||||
};
|
||||
return { time, event, data: scrollData };
|
||||
case Data.Event.Timeline:
|
||||
|
||||
Reference in New Issue
Block a user