Skip to content

Commit

Permalink
Restore partners' modal
Browse files Browse the repository at this point in the history
  • Loading branch information
starsep committed Nov 17, 2023
1 parent 1441d87 commit 015823b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
import {
mdiArrowRightBold,
mdiCancel,
mdiMapMarkerPlus, /* mdiAccountGroup, */
mdiMapMarkerPlus,
mdiAccountGroup,
} from "@mdi/js";
import Icon from "@mdi/react";
import React, { FC } from "react";
import { Button, Footer } from "react-bulma-components";
import { useTranslation } from "react-i18next";
import ButtonsType from "../model/buttonsType";
import "./footer.css";
/* import { useAppContext } from "../appContext"; */
/* import { initialModalState, ModalType } from "../model/modal"; */
import { useAppContext } from "../appContext";
import { initialModalState, ModalType } from "../model/modal";

const FooterDiv: FC<FooterDivProps> = ({
startAEDAdding, mobileCancel, showFormMobile, buttonsConfiguration,
}) => {
const { t } = useTranslation();
/* const { setModalState } = useAppContext(); */
const { setModalState } = useAppContext();
const basicButtons = (
<div>
<span className="is-hidden-mobile">
Expand All @@ -43,7 +44,7 @@ const FooterDiv: FC<FooterDivProps> = ({
{t("footer.add")}
</Button>
</span>
{/* <Button
<Button
color="info"
mt={1}
ml={2}
Expand All @@ -52,7 +53,7 @@ const FooterDiv: FC<FooterDivProps> = ({
>
<Icon path={mdiAccountGroup} className="icon mr-2" />
{t("footer.partners")}
</Button> */}
</Button>
</div>
);
const mobileAddAedButtons = (
Expand Down

0 comments on commit 015823b

Please sign in to comment.