Skip to content

Commit aeb8f00

Browse files
refactor: change type name to resolve parse error
1 parent a7b61db commit aeb8f00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/cards/Referral.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Avatar from "@/components/ui/Avatar";
2-
import { Referral } from "@/types/community";
2+
import { Referral as TReferral } from "@/types/community";
33
import RewardBadge from "../badges/RewardBadge";
44
import { useTranslation } from "next-i18next";
55
import { ReactElement } from "react";
@@ -15,7 +15,7 @@ import { useDispatch } from "@/hooks/useTypedDispatch";
1515
*/
1616

1717
interface ReferralProps {
18-
referral: Referral;
18+
referral: TReferral;
1919
}
2020

2121
/**

0 commit comments

Comments
 (0)