updated cookie login and watched cases

This commit is contained in:
2021-11-03 08:24:54 +00:00
parent 30a7e426af
commit fa4c765799
20 changed files with 208 additions and 130 deletions
+3
View File
@@ -1,4 +1,5 @@
import _ from "lodash";
import { useState, useEffect, useRef } from "react";
import Head from "next/head";
import Header from "../components/header";
import ServiceBanner from "../components/servicebanner";
@@ -13,6 +14,7 @@ import { wrapper } from "../store/store";
import { useRouter } from "next/router";
import useTranslation from "next-translate/useTranslation";
import { getIncidents } from "../actions";
import { parseCookies } from "nookies";
const Home = (props) => {
const { footerLinks, pages } = props;
@@ -20,6 +22,7 @@ const Home = (props) => {
const router = useRouter();
const { locale } = router;
return (
<div>
<Head>