removed dead code

This commit is contained in:
mmacierzanka committed 2021-10-07 23:36:09 +02:00
1 parent f320f36b05
commit 9784c59864
2 files changed
-38

No files matched your search

@@ -1,16 +0,0 @@
.container {
display: flex;
flex-direction: column;
align-items: center;
row-gap: 5px;
text-align: center;
max-width: 30vw;
}
.icon {
font-size: 120px;
color: rgb(36, 36, 161);
line-height: 1.1;
}
.button {
width: 100%;
}
-22
View File
@@ -1,22 +0,0 @@
import styles from "./confirm.module.scss";
import { spawnPopup } from "./spawnPopup";
import { BIcon } from "../../components/BIcon";
export const spawnConfirm = async (details) => {
await spawnPopup((close) => {
return (
<div className={styles.container}>
<div className={styles.icon}>
<BIcon size={"120px"} icon="question-circle-fill" />
</div>
<h3>{details}</h3>
<button className={styles.button} onClick={() => close(true)}>
Tak
</button>
<button className={styles.button} onClick={() => close(false)}>
Nie
</button>
</div>
);
});
};