fix missing $ in regex

This commit is contained in:
Rie Takahashi 2023-09-17 19:42:59 +01:00
parent 1128e8f3ad
commit fb7e1c64fd

@ -149,7 +149,7 @@ function ServerTrace({ trace }: ServerTraceProps) {
function TTIAnalytics() { function TTIAnalytics() {
const analytics = TTITracker.serializeTTITracker(); const analytics = TTITracker.serializeTTITracker();
const filteredAnalytics = Object.entries(analytics).filter(([key, value]) => !/_start|_end$/.test(key) && value !== null && value !== undefined); const filteredAnalytics = Object.entries(analytics).filter(([key, value]) => !/_start$|_end$/.test(key) && value !== null && value !== undefined);
return ( return (
<ErrorBoundary> <ErrorBoundary>