Skip to content

Commit 4f62016

Browse files
committed
Remove variable
1 parent a1ca024 commit 4f62016

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runtime/src/plugins/usePropagateHeaders.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ export function usePropagateHeaders<TContext extends Record<string, any>>(
118118
const value = headers[key];
119119
if (value) {
120120
for (const v of value) {
121-
const current = response.headers.get(key);
122-
if (v !== current) {
121+
if (v !== response.headers.get(key)) {
123122
response.headers.append(key, v);
124123
}
125124
}

0 commit comments

Comments
 (0)