# fix\(web\): add dismiss button to thread error banner \(\#588\) · screen/t3code-personal

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

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

Visibility: public

Requested revision: 59e2944fb72d8ef8c3b55fec3be766abe48df820

Requested commit: 59e2944fb72d8ef8c3b55fec3be766abe48df820

Commit: 59e2944fb72d8ef8c3b55fec3be766abe48df820

Tree: c400de0c1380f8aa29e0cc293ea3632c43784cb9

Author: 0x1f99d

Committer: GitHub

## Message

```
fix(web): add dismiss button to thread error banner (#588)

The thread error banner had no way to be dismissed. Users hitting
unrecoverable errors (e.g. missing gh CLI during PR creation) were
stuck with a persistent error banner and no way to clear it.

Add a dismiss (X) button to ThreadErrorBanner using the existing
AlertAction component, wired to clear the thread error via
setThreadError(id, null).

Closes #496
```

## Parents

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

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