From 6cf9874cd5f389828cfc587ae9d1a1ce18e326ca Mon Sep 17 00:00:00 2001 From: Mariela Date: Sun, 31 Jul 2022 23:58:12 -0600 Subject: [PATCH] set import and const cookies --- web-ui/web-react/src/components/AreasComunes.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web-ui/web-react/src/components/AreasComunes.js b/web-ui/web-react/src/components/AreasComunes.js index 211867a0..421c7cc1 100644 --- a/web-ui/web-react/src/components/AreasComunes.js +++ b/web-ui/web-react/src/components/AreasComunes.js @@ -15,6 +15,7 @@ import { faIdCardAlt } from '@fortawesome/free-solid-svg-icons'; import { faEllipsis } from '@fortawesome/free-solid-svg-icons'; import { faHomeAlt } from '@fortawesome/free-solid-svg-icons'; import classNames from 'classnames'; +import { useCookies } from "react-cookie"; const AreasComunes = () => { @@ -44,6 +45,12 @@ const AreasComunes = () => { const toast = useRef(null); const dt = useRef(null); + const [cookies, setCookie] = useCookies(); + + async function getCommonAreas() { + + } + };