From ab79d142db9610e10a71ab199e28c6f54bdcfe07 Mon Sep 17 00:00:00 2001 From: zuies Date: Thu, 6 Jul 2023 10:09:10 +0400 Subject: [PATCH] fix issue on lint --- src/assets/svg/{empty-state.svg => emptyState.svg} | 0 src/pages/callback.tsx | 2 +- src/pages/communityHealth.tsx | 10 +++++++++- src/pages/index.tsx | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) rename src/assets/svg/{empty-state.svg => emptyState.svg} (100%) diff --git a/src/assets/svg/empty-state.svg b/src/assets/svg/emptyState.svg similarity index 100% rename from src/assets/svg/empty-state.svg rename to src/assets/svg/emptyState.svg diff --git a/src/pages/callback.tsx b/src/pages/callback.tsx index 9290b9ed..3d389113 100644 --- a/src/pages/callback.tsx +++ b/src/pages/callback.tsx @@ -1,5 +1,5 @@ import { useRouter } from 'next/router'; -import { useEffect, useState } from 'react'; +import React, { useEffect, useState } from 'react'; import { IUser, callbackUrlParams } from '../utils/types'; import SimpleBackdrop from '../components/global/LoadingBackdrop'; import { StorageService } from '../services/StorageService'; diff --git a/src/pages/communityHealth.tsx b/src/pages/communityHealth.tsx index 0b283461..8bb1676e 100644 --- a/src/pages/communityHealth.tsx +++ b/src/pages/communityHealth.tsx @@ -1,8 +1,16 @@ import React from 'react'; import { defaultLayout } from '../layouts/defaultLayout'; +import SEO from '../components/global/SEO'; function communityHealth() { - return
communityHealth
; + return ( + <> + +
+ communityHealth +
+ + ); } communityHealth.pageLayout = defaultLayout; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index cfb9babd..7490889b 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -3,7 +3,7 @@ import MainSection from '../components/pages/pageIndex/MainSection'; import { defaultLayout } from '../layouts/defaultLayout'; import SEO from '../components/global/SEO'; -import { useEffect, useState } from 'react'; +import React, { useEffect, useState } from 'react'; import { StorageService } from '../services/StorageService'; import { IUser } from '../utils/types'; import { useRouter } from 'next/router';