Add ExportBtn to settings

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2026-03-18 10:59:00 +01:00
1 parent 4c22dfc1b1
commit 00d1d948f7
2 files changed
+9 -1

No files matched your search

@@ -9,12 +9,13 @@ export default function ExportCalendarBtn() {
const calendarUrl = `${import.meta.env.VITE_API_URL}/api/export/ics/${user?.id}`;
return <Button
variant="default"
onClick={() => {
window.open(
`${APP_CONFIG.newCalendarURL}${calendarUrl}`
);
}}
>
Exporter
Exporter le calendrier
</Button>
}