From 0974e87658f7fa7fd57471f30c4aa718553c75cd Mon Sep 17 00:00:00 2001 From: Finn Ickler Date: Sun, 22 Oct 2023 17:11:56 +0200 Subject: [PATCH] ran eslint fix --- .../components/RegistrationAdministrationList.jsx | 2 +- Frontend/src/ui/Competition.jsx | 2 +- Frontend/src/ui/Tabs.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Frontend/src/pages/registration_administration/components/RegistrationAdministrationList.jsx b/Frontend/src/pages/registration_administration/components/RegistrationAdministrationList.jsx index 9821bd02..ad50e88c 100644 --- a/Frontend/src/pages/registration_administration/components/RegistrationAdministrationList.jsx +++ b/Frontend/src/pages/registration_administration/components/RegistrationAdministrationList.jsx @@ -5,11 +5,11 @@ import { Link } from 'react-router-dom' import { Checkbox, Popup, Table } from 'semantic-ui-react' import { CompetitionContext } from '../../../api/helper/context/competition_context' import { getAllRegistrations } from '../../../api/registration/get/get_registrations' +import { BASE_ROUTE } from '../../../routes' import { setMessage } from '../../../ui/events/messages' import LoadingMessage from '../../../ui/messages/loadingMessage' import styles from './list.module.scss' import RegistrationActions from './RegistrationActions' -import { BASE_ROUTE } from '../../../routes' // Currently it is at the developer's discretion to make sure // an attendee is added to the right list. diff --git a/Frontend/src/ui/Competition.jsx b/Frontend/src/ui/Competition.jsx index 8ae8efe9..cac87df5 100644 --- a/Frontend/src/ui/Competition.jsx +++ b/Frontend/src/ui/Competition.jsx @@ -8,9 +8,9 @@ import { useNavigate, useParams } from 'react-router-dom' import { Button, Image } from 'semantic-ui-react' import getCompetitionInfo from '../api/competition/get/get_competition_info' import { CompetitionContext } from '../api/helper/context/competition_context' +import { BASE_ROUTE } from '../routes' import styles from './competition.module.scss' import LoadingMessage from './messages/loadingMessage' -import { BASE_ROUTE } from '../routes' export default function Competition({ children }) { const { competition_id } = useParams() diff --git a/Frontend/src/ui/Tabs.jsx b/Frontend/src/ui/Tabs.jsx index 660253a8..acefb695 100644 --- a/Frontend/src/ui/Tabs.jsx +++ b/Frontend/src/ui/Tabs.jsx @@ -4,8 +4,8 @@ import { useLocation, useNavigate } from 'react-router-dom' import { Menu, Tab } from 'semantic-ui-react' import { CompetitionContext } from '../api/helper/context/competition_context' import { PermissionsContext } from '../api/helper/context/permission_context' -import styles from './tabs.module.scss' import { BASE_ROUTE } from '../routes' +import styles from './tabs.module.scss' function pathMatch(name, pathname) { const registerExpression = /\/competitions\/[a-zA-Z0-9]+\/register/