fix: eslint issues and reconfiguring (#3891)

* fix: eslint fixes

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
sriram veeraghanta 2024-03-06 18:39:14 +05:30 committed by GitHub
parent 921b9078f1
commit 3d09a69d58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
790 changed files with 4155 additions and 4051 deletions

View file

@ -1,12 +1,12 @@
import { ReactNode, useEffect, useState, FC } from "react";
import { useRouter } from "next/router";
import { observer } from "mobx-react-lite";
import useSWR from "swr";
import { useRouter } from "next/router";
import { useTheme } from "next-themes";
// hooks
import { useApplication, useUser } from "hooks/store";
import useSWR from "swr";
// helpers
import { applyTheme, unsetCustomCssVariables } from "helpers/theme.helper";
// hooks
import { useApplication, useUser } from "hooks/store";
interface IStoreWrapper {
children: ReactNode;
@ -15,7 +15,7 @@ interface IStoreWrapper {
const StoreWrapper: FC<IStoreWrapper> = observer((props) => {
const { children } = props;
// states
const [dom, setDom] = useState<any>();
const [dom, setDom] = useState<unknown>();
// router
const router = useRouter();
// store hooks