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";
|
||||
|
||||
@@ -2,7 +2,14 @@ import ArrowBackIcon from "@mui/icons-material/ArrowBack";
|
||||
import RepeatIcon from "@mui/icons-material/Repeat";
|
||||
import SquareRoundedIcon from "@mui/icons-material/SquareRounded";
|
||||
import VideocamIcon from "@mui/icons-material/Videocam";
|
||||
import { Box, Button, IconButton, Stack, Typography, CircularProgress } from "twake-mui";
|
||||
import {
|
||||
Box,
|
||||
Button,
|
||||
IconButton,
|
||||
Stack,
|
||||
Typography,
|
||||
CircularProgress,
|
||||
} from "@linagora/twake-mui";
|
||||
import { useI18n } from "twake-i18n";
|
||||
import { useState } from "react";
|
||||
import { useAppDispatch, useAppSelector } from "../../app/hooks";
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
Snackbar,
|
||||
Switch,
|
||||
FormControlLabel,
|
||||
} from "twake-mui";
|
||||
} from "@linagora/twake-mui";
|
||||
import ArrowBackIcon from "@mui/icons-material/ArrowBack";
|
||||
import SettingsIcon from "@mui/icons-material/Settings";
|
||||
// import SyncIcon from "@mui/icons-material/Sync";
|
||||
|
||||
Reference in New Issue
Block a user