# Extract stripDiffSearchParams helper to deduplicate diff param stripping logic · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/842e327583f214714abbde82e7e19a6341c3d140)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 842e327583f214714abbde82e7e19a6341c3d140

Requested commit: 842e327583f214714abbde82e7e19a6341c3d140

Commit: 842e327583f214714abbde82e7e19a6341c3d140

Tree: 805948e35c0526b64bcc6068be77496e1be52b30

Author: Cursor Agent

Committer: Cursor Agent

## Message

```
Extract stripDiffSearchParams helper to deduplicate diff param stripping logic

Consolidate the repeated pattern of destructuring and removing diff/diffTurnId/diffFilePath
search params into a single stripDiffSearchParams() function in diffRouteSearch.ts.
Replaces 5 identical destructuring blocks across 3 files with calls to the shared helper.

Applied via @cursor push command
```

## Parents

- [891eb02d49d4b511cc1b52ed4d675476484f2aa9](https://git.cafe/screen/t3code-personal/commit/891eb02d49d4b511cc1b52ed4d675476484f2aa9?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/842e327583f214714abbde82e7e19a6341c3d140?format=markdown)
