# Close result toast only after push confirmation · pingdotgg/t3code

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

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

Visibility: public

Requested revision: cce74f913c03665bda4fe1bf4448fea42e250946

Requested commit: cce74f913c03665bda4fe1bf4448fea42e250946

Commit: cce74f913c03665bda4fe1bf4448fea42e250946

Tree: 0727a3caa706e5071eaea3dc8894f167c80d2c8b

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Close result toast only after push confirmation

- Add optional `onConfirmed` callback to `runGitActionWithToast`
- Use it from the Push CTA so the existing toast is closed only after user confirms push

```

## Parents

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

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