Skip to content

Commit

Permalink
Add eslint-disable-next-line no-alert
Browse files Browse the repository at this point in the history
Added a todo for replacing prompt with a modal in the future
  • Loading branch information
kasperbirch1 committed Mar 13, 2024
1 parent 5b5872a commit f6ed8a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apps/opening-hours-editor/OpeningHoursEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const OpeningHoursEditor: React.FC = () => {
}, [openingHoursData]);

const handleDateSelect = (selectInfo: DateSelectArg) => {
// Todo: Replace prompt with a modal
// eslint-disable-next-line no-alert
const title = prompt("Please enter a new title for your event");
const calendarApi = selectInfo.view.calendar;

Expand Down

0 comments on commit f6ed8a8

Please sign in to comment.