# refactor\(web\): the prompt stash lives in useComposerStash · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/25fa572eba1b8a200711bee4bb5b3acc7e39e5c0)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 25fa572eba1b8a200711bee4bb5b3acc7e39e5c0

Requested commit: 25fa572eba1b8a200711bee4bb5b3acc7e39e5c0

Commit: 25fa572eba1b8a200711bee4bb5b3acc7e39e5c0

Tree: 03cd826e646f1e1acbaf2dc1c1ddb5218266f9d6

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(web): the prompt stash lives in useComposerStash

Moves stash, restore, delete, the badge pulse, the stash menu state and
the stash shortcut out of the composer body into one hook. The hook reads
the draft store setters it needs itself instead of taking them as input.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [1807a1e9c9d9c7e2dd80b05c6c43041dc5172a8e](https://git.cafe/pingdotgg/t3code/commit/1807a1e9c9d9c7e2dd80b05c6c43041dc5172a8e?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/25fa572eba1b8a200711bee4bb5b3acc7e39e5c0?format=markdown)
