Fix lint errors

This commit is contained in:
Tuan Dang
2023-06-27 17:30:37 +07:00
parent 1dfd18e779
commit 492c6a6f97
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
import Link from "next/link";
import { useSubscription } from "@app/context";
import { Button } from "../Button";
import { Modal, ModalClose, ModalContent } from "../Modal";

View File

@@ -36,7 +36,7 @@ import {
UpgradePlanModal
} from "@app/components/v2";
import { leaveConfirmDefaultMessage } from "@app/const";
import { useWorkspace, useSubscription } from "@app/context";
import { useSubscription,useWorkspace } from "@app/context";
import { useLeaveConfirm, usePopUp, useToggle } from "@app/hooks";
import {
useBatchSecretsOp,
@@ -99,7 +99,7 @@ const USER_ACTION_PUSH = "first_time_secrets_pushed";
*/
export const DashboardPage = ({ envFromTop }: { envFromTop: string }) => {
const { subscription } = useSubscription();
console.log('dashboard sub: ', subscription);
console.log("dashboard sub: ", subscription);
const { t } = useTranslation();
const router = useRouter();
const { createNotification } = useNotificationContext();