Skip to content

Commit d0edb9b

Browse files
author
Rajat Saxena
committed
Fixed a CodeQL warning
1 parent d847edd commit d0edb9b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

apps/web/hooks/use-payment-plan-operations.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import { useState, useContext } from "react";
22
import { FetchBuilder } from "@courselit/utils";
3-
import {
4-
Constants,
3+
import type {
54
MembershipEntityType,
65
PaymentPlan,
76
} from "@courselit/common-models";
87
import { AddressContext } from "@components/contexts";
98

10-
const { MembershipEntityType } = Constants;
11-
129
interface UsePaymentPlanOperationsProps {
1310
id: string;
1411
entityType: MembershipEntityType;

0 commit comments

Comments
 (0)