Skip to content

Commit

Permalink
reverse of the sanitize props processing
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Nov 15, 2023
1 parent b33137e commit 3ccc926
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const TimeLineView = ({ performanceEvent }: { performanceEvent: PerformanceEvent

const TableView = ({ performanceEvent }: { performanceEvent: PerformanceEvent }): JSX.Element => {
const timingProperties = Object.entries(performanceEvent).reduce((acc, [key, val]) => {
if (['_start', '_end', '_time'].some((suffix) => key.endsWith(suffix))) {
if (key.includes('time') || key.includes('end') || key.includes('start')) {
acc[key] = val
}
return acc
Expand Down

0 comments on commit 3ccc926

Please sign in to comment.