replace new button

This commit is contained in:
2025-06-11 12:18:15 +05:00
parent e3eea86e28
commit 8e4546edc5
20 changed files with 130 additions and 250 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import FlashIcon from "./icons/FlashIcon";
import { Session } from "../types/ISession";
import NewButton from "./NewButton";
import Button from "./Button";
import ChevronRightIcon from "./icons/ChevronRightIcon";
import { motion } from "motion/react";
import CurrentSessionModal from "./modals/CurrentSessionModal";
@@ -71,12 +71,12 @@ function CurrentSessionCard({
<ChevronRightIcon />
</span>
</div>
<NewButton
<Button
variant="critical"
onClick={() => setModal(<EndSessionModal session={session} />)}
>
Завершить сеанс
</NewButton>
</Button>
</motion.div>
);
}