Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Jan 3, 2025
1 parent b646f8f commit b2d4ca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/profiler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class Profiler extends React.Component<ProfilerProps> {
}
}

// React.Component default props are defined as static property on the class
Object.assign(Profiler, {
defaultProps: {
disabled: false,
Expand Down

0 comments on commit b2d4ca2

Please sign in to comment.