# Fix panic opening the theme selector \(\#3499\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/62bfa3b452a4845a349ccb786e84e15f249f23a4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 62bfa3b452a4845a349ccb786e84e15f249f23a4

Requested commit: 62bfa3b452a4845a349ccb786e84e15f249f23a4

Commit: 62bfa3b452a4845a349ccb786e84e15f249f23a4

Tree: 270b9bcc3663513e06bb2becc321483f2f749008

Author: Federico Dionisi

Committer: GitHub

## Message

```
Fix panic opening the theme selector (#3499)

I noticed a panic when trying to open the theme selector. Removing `Arc`
from `cx.global::<Arc<ThemeRegistry>>()` did the job. Is that the right
way? I'm not sure. 😅

Release Notes:

- N/A
```

## Parents

- [d433da1e704161046e91875084a25691da0d4991](https://git.cafe/gitcafe/zed/commit/d433da1e704161046e91875084a25691da0d4991?format=markdown)

- [20352c51c1514fc9853b4a2e171d5c425601c893](https://git.cafe/gitcafe/zed/commit/20352c51c1514fc9853b4a2e171d5c425601c893?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/62bfa3b452a4845a349ccb786e84e15f249f23a4?format=markdown)
