diff --git a/src/pages/faq/index.tsx b/src/pages/faq/index.tsx index 7b90f55..fc91704 100644 --- a/src/pages/faq/index.tsx +++ b/src/pages/faq/index.tsx @@ -21,6 +21,9 @@ export default function commonQuestions({faqData, userName}) {
{ + faqData.length<1? +

Nenhuma pergunta no momento!

+ : faqData.map((value, index ) => { return <> diff --git a/src/pages/news/index.tsx b/src/pages/news/index.tsx index e2700eb..4bc5720 100644 --- a/src/pages/news/index.tsx +++ b/src/pages/news/index.tsx @@ -1,4 +1,3 @@ -import axios from 'axios'; import { GetServerSideProps } from 'next'; import Head from 'next/head'; import Link from 'next/link' @@ -26,7 +25,7 @@ export default function aboutUs({userName, news}: any) { return <>
-

+

ANEEL APROVA REAJUSTE TARIFÁRIO ANUAL DA ENERGISA SERGIPE DE 16,46 % PARA O CONSUMIDOR RESIDENCIAL
diff --git a/yarn.lock b/yarn.lock index 6f24770..1775cec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1787,6 +1787,7 @@ axe-core@^4.3.5: axios@^0.27.2: version "0.27.2" resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" + integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== dependencies: follow-redirects "^1.14.9" form-data "^4.0.0"