Skip to content

Commit 67462de

Browse files
committed
remove unnecessary type
1 parent c36a202 commit 67462de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/common/wrapGenerationFunctionWithSentry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function wrapGenerationFunctionWithSentry<F extends (...args: any[]) => a
6868
const params = props && typeof props === 'object' && 'params' in props ? props.params : undefined;
6969
const searchParams =
7070
props && typeof props === 'object' && 'searchParams' in props ? props.searchParams : undefined;
71-
data = { params, searchParams } as Record<string, unknown>;
71+
data = { params, searchParams }
7272
}
7373

7474
return withIsolationScope(isolationScope, () => {

0 commit comments

Comments
 (0)