chore: update twake-mui dependency and use radius.lg for create event button
This commit is contained in:
@@ -381,6 +381,7 @@ export default function EventPreviewModal({
|
||||
onOpenDuplicate={() => {
|
||||
setToggleActionMenu(null);
|
||||
setHidePreview(true);
|
||||
<<<<<<< HEAD
|
||||
setOpenDuplicateModal(true);
|
||||
}}
|
||||
/>
|
||||
@@ -625,6 +626,7 @@ export default function EventPreviewModal({
|
||||
}
|
||||
text={t("eventPreview.alarmText", {
|
||||
trigger: t(`event.form.notifications.${event.alarm.trigger}`),
|
||||
<<<<<<< HEAD
|
||||
action: (() => {
|
||||
if (!event.alarm.action) return "";
|
||||
const translationKey = `event.form.notifications.${event.alarm.action}`;
|
||||
@@ -634,6 +636,9 @@ export default function EventPreviewModal({
|
||||
? event.alarm.action
|
||||
: translated;
|
||||
})(),
|
||||
=======
|
||||
action: event.alarm.action || "",
|
||||
>>>>>>> 4ddc44d (chore: update twake-mui dependency and use radius.lg for create event button)
|
||||
})}
|
||||
style={{
|
||||
fontSize: "16px",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { CalendarApi, DateSelectArg } from "@fullcalendar/core";
|
||||
import { Box, Button } from "twake-mui";
|
||||
import { Box, Button } from "@linagora/twake-mui";
|
||||
import AddIcon from "@mui/icons-material/Add";
|
||||
import React, {
|
||||
useEffect,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Box, Button } from "twake-mui";
|
||||
import { Box, Button } from "@linagora/twake-mui";
|
||||
import AddIcon from "@mui/icons-material/Add";
|
||||
import { useEffect, useState, useMemo, useCallback, useRef } from "react";
|
||||
import { useAppDispatch, useAppSelector } from "../../app/hooks";
|
||||
|
||||
Reference in New Issue
Block a user