Skip to content

Commit

Permalink
Remove unused generic arg on createProfiler
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Nov 28, 2023
1 parent 3c8113d commit c20e373
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/testing/internal/profile/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,7 @@ export function profile<Snapshot extends ValidSnapshot = void, Props = {}>({
}

/** @internal */
export function createProfiler<
Snapshot extends ValidSnapshot = void,
Props = {},
>({
export function createProfiler<Snapshot extends ValidSnapshot = void>({
onRender,
snapshotDOM = false,
initialSnapshot,
Expand Down

0 comments on commit c20e373

Please sign in to comment.