♻️(frontend) wrap MuteEveryoneButton with AdminOrOwnerOnly

Avoids mounting the button's hooks and rendering its logic for users who
are not admin or owner, which previously happened on every re-render
of the parent.
This commit is contained in:
lebaudantoine
2026-06-01 15:22:01 +02:00
parent d43b335546
commit 39d3f6dd8e
2 changed files with 14 additions and 6 deletions
+1
View File
@@ -22,6 +22,7 @@ and this project adheres to
- ✨(meet) use compatible with summary v2 #1362
- ♻️(backend) refactor analytics backend from Protocol to abstract class
- 🔥(summary) remove call to summary enabled feature flag
- ♻️(frontend) wrap MuteEveryoneButton with AdminOrOwnerOnly
### Fixed