Skip to content

Commit

Permalink
fix: change issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DevNono committed Sep 9, 2024
1 parent 8769470 commit fd98c1f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/app/help/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ const Help = () => {
setEmail('');
setMessage('');
setSubject('');

if (user) {
setName(user.firstname + ' ' + user.lastname);
setEmail(user.email);
}
}
};

Expand Down
6 changes: 3 additions & 3 deletions src/app/tournaments/[id]/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TournamentSwitcherAnimation from '@/components/landing/TournamentSwitcher
import { useEffect, useState } from 'react';
import { useAppDispatch, useAppSelector } from '@/lib/hooks';
// import Table from '@/components/UI/Table';
import { getTournamentBackgroundLink } from '@/utils/uploadLink';
import { getTournamentBackgroundLink, getTournamentRulesLink } from '@/utils/uploadLink';
import { IconName } from '@/components/UI/Icon';
import logoUA from '@/../public/images/logo-notext.webp';
import FillingBar from '@/components/UI/FillingBar';
Expand Down Expand Up @@ -56,11 +56,11 @@ export function TournamentInformation({ tournamentId, animate = true }: { tourna
{tournament.name}
</Title>
</div>
{/*{loginAllowed && (
{loginAllowed && (
<Link href={getTournamentRulesLink(tournament.id)} target="_blank">
<Button primary>Voir les règles</Button>
</Link>
)}*/}
)}
</div>
<div className={styles.information}>
<BoxContainer
Expand Down

0 comments on commit fd98c1f

Please sign in to comment.