From 8121f3fc30b8ae9241f7b3823937f5d4b485bcd0 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Mon, 23 Sep 2024 17:00:11 +0300 Subject: [PATCH] Move language chooser to the top --- src/Schedule/ScheduleChooser.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Schedule/ScheduleChooser.jsx b/src/Schedule/ScheduleChooser.jsx index e1091b1..21dd99e 100644 --- a/src/Schedule/ScheduleChooser.jsx +++ b/src/Schedule/ScheduleChooser.jsx @@ -18,6 +18,12 @@ export default function ScheduleChooser() { const [ lang, setLang ] = useState('bg'); return (<> + {Object.entries(langs).map(([langId, langName]) => + )} {isLoading &&

Please wait...

} {error &&

Error: {error}

} {conferences && <> @@ -26,12 +32,6 @@ export default function ScheduleChooser() { )} } - {Object.entries(langs).map(([langId, langName]) => - )} ); }