Add ExportBtn to settings
This commit is contained in:
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user