Skip to content

Commit 1e69dd2

Browse files
committed
Edit mute button
1 parent af030c2 commit 1e69dd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webapp/src/components/user/User.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ export function User({ open, onClose, user }) {
4242
</DialogContent>
4343
<DialogActions>
4444
{(ismoderator || isadmin) && !user?.is_anonymous && (
45-
<>
4645
<BanButton color="error" variant="contained"
4746
username={user?.username || ""}
4847
>Ban</BanButton>
48+
)}
49+
{(ismoderator || isadmin) && (
4950
<MuteButton color="primary" variant="contained" callsign={user?.callsign} >
5051
Mute
5152
</MuteButton>
52-
</>
5353
)}
5454
</DialogActions>
5555
</Dialog>

0 commit comments

Comments
 (0)