-const ApplyButton = ({ tournament, user }) => {
- if (!tournament.accept_applications) return null;
+const ApplyButton = ({ tournament }) => {
+ const { user } = useUser();
+
+ if (!user || !tournament.accept_applications || isRunner(user, tournament)) return null;