fix: eslint issues and reconfiguring (#3891)
* fix: eslint fixes --------- Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
parent
921b9078f1
commit
3d09a69d58
790 changed files with 4155 additions and 4051 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue