Skip to content

Commit

Permalink
hide actions
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Apr 23, 2024
1 parent ab3723c commit 0ab03b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ const UserModal = (props: { player: Player }) => {
<IsBannedModal player={player} />
</div>

<PlayerActionsModal player={player} />
{import.meta.env.VITE_USE_ACTIONS && (
<PlayerActionsModal player={player} />
)}

<UserDetailsModal player={player} />

Expand Down

0 comments on commit 0ab03b2

Please sign in to comment.