replace new button
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user