@@ -2,7 +2,7 @@ import { useState } from "react";
|
|||||||
import Button from "../../pageElements/Button";
|
import Button from "../../pageElements/Button";
|
||||||
import Modal from "react-bootstrap/Modal";
|
import Modal from "react-bootstrap/Modal";
|
||||||
import TextInput from "../../pageElements/TextInput";
|
import TextInput from "../../pageElements/TextInput";
|
||||||
|
import { ExclamationTriangle } from "react-bootstrap-icons";
|
||||||
import { db } from "../../firebase";
|
import { db } from "../../firebase";
|
||||||
|
|
||||||
const ConfirmModal = ({
|
const ConfirmModal = ({
|
||||||
@@ -27,7 +27,20 @@ const ConfirmModal = ({
|
|||||||
{isReport ? (
|
{isReport ? (
|
||||||
<Modal.Title>Report an issue</Modal.Title>
|
<Modal.Title>Report an issue</Modal.Title>
|
||||||
) : (
|
) : (
|
||||||
<Modal.Title>{title}</Modal.Title>
|
<Modal.Title>
|
||||||
|
{titleText ? (
|
||||||
|
<ExclamationTriangle
|
||||||
|
style={{
|
||||||
|
color: "red",
|
||||||
|
marginRight: "8px",
|
||||||
|
marginBottom: "7px",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
<></>
|
||||||
|
)}
|
||||||
|
{title}
|
||||||
|
</Modal.Title>
|
||||||
)}
|
)}
|
||||||
</Modal.Header>
|
</Modal.Header>
|
||||||
<Modal.Body>
|
<Modal.Body>
|
||||||
|
|||||||
Reference in New Issue
Block a user