Changed the Level test finish screen to only show the grade
This commit is contained in:
@@ -102,7 +102,6 @@ export default function Finish({
|
|||||||
const [levelStr, grade] = getLevelScore(level);
|
const [levelStr, grade] = getLevelScore(level);
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center justify-center gap-1">
|
<div className="flex flex-col items-center justify-center gap-1">
|
||||||
<span className="text-xl font-bold">{levelStr}</span>
|
|
||||||
<span className="text-xl">{grade}</span>
|
<span className="text-xl">{grade}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export default function PaymentDue({
|
|||||||
invites,
|
invites,
|
||||||
isLoading: isInvitesLoading,
|
isLoading: isInvitesLoading,
|
||||||
reload: reloadInvites,
|
reload: reloadInvites,
|
||||||
} = useInvites({ to: user.id });
|
} = useInvites({ to: user?.id });
|
||||||
|
|
||||||
const isIndividual = () => {
|
const isIndividual = () => {
|
||||||
if (user?.type === "developer") return true;
|
if (user?.type === "developer") return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user