diff --git a/frontend/src/components/modals/tournament_modal.tsx b/frontend/src/components/modals/tournament_modal.tsx
index a392b67a..346b14de 100644
--- a/frontend/src/components/modals/tournament_modal.tsx
+++ b/frontend/src/components/modals/tournament_modal.tsx
@@ -25,7 +25,9 @@ import SaveButton from '../buttons/save';
export function TournamentLogo({ tournament }: { tournament: Tournament | null }) {
if (tournament == null || tournament.logo_path == null) return null;
- return
;
+ return (
+
+ );
}
function GeneralTournamentForm({
diff --git a/frontend/src/components/utils/file_upload.tsx b/frontend/src/components/utils/file_upload.tsx
index 0eb9654e..39c5c1c7 100644
--- a/frontend/src/components/utils/file_upload.tsx
+++ b/frontend/src/components/utils/file_upload.tsx
@@ -1,14 +1,14 @@
import { Group, Text } from '@mantine/core';
import { Dropzone, MIME_TYPES } from '@mantine/dropzone';
import { IconCloudUpload, IconDownload, IconX } from '@tabler/icons-react';
+import { AxiosError } from 'axios';
import { useTranslation } from 'next-i18next';
import { useMemo, useRef } from 'react';
import { SWRResponse } from 'swr';
-import { AxiosError } from 'axios';
+import { TeamInterface } from '../../interfaces/team';
import { Tournament } from '../../interfaces/tournament';
import { handleRequestError, uploadTeamLogo, uploadTournamentLogo } from '../../services/adapter';
-import { TeamInterface } from '../../interfaces/team';
export function DropzoneButton({
tournamentId,
diff --git a/frontend/src/pages/tournaments/[id]/settings.tsx b/frontend/src/pages/tournaments/[id]/settings.tsx
index 3ae28306..28a48db6 100644
--- a/frontend/src/pages/tournaments/[id]/settings.tsx
+++ b/frontend/src/pages/tournaments/[id]/settings.tsx
@@ -27,13 +27,20 @@ import { GenericSkeleton } from '../../../components/utils/skeletons';
import { capitalize, getBaseURL, getTournamentIdFromRouter } from '../../../components/utils/util';
import { Club } from '../../../interfaces/club';
import { Tournament, getTournamentEndpoint } from '../../../interfaces/tournament';
-import { getBaseApiUrl, getClubs, getTournamentById, removeTournamentLogo } from '../../../services/adapter';
+import {
+ getBaseApiUrl,
+ getClubs,
+ getTournamentById,
+ removeTournamentLogo,
+} from '../../../services/adapter';
import { updateTournament } from '../../../services/tournament';
import TournamentLayout from '../_tournament_layout';
export function TournamentLogo({ tournament }: { tournament: Tournament | null }) {
if (tournament == null || tournament.logo_path == null) return null;
- return
;
+ return (
+
+ );
}
function GeneralTournamentForm({
@@ -163,7 +170,11 @@ function GeneralTournamentForm({
{...form.getInputProps('dashboard_public', { type: 'checkbox' })}
/>
-
+
diff --git a/frontend/src/services/adapter.tsx b/frontend/src/services/adapter.tsx
index ad87f337..0bd90320 100644
--- a/frontend/src/services/adapter.tsx
+++ b/frontend/src/services/adapter.tsx
@@ -1,9 +1,9 @@
import { showNotification } from '@mantine/notifications';
import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
+import type Axios from 'axios';
import { useRouter } from 'next/router';
import useSWR, { SWRResponse } from 'swr';
-import type Axios from 'axios';
import { Pagination } from '../components/utils/util';
import { SchedulerSettings } from '../interfaces/match';
import { getLogin, performLogout, tokenPresent } from './local_storage';