Skip to content

Commit

Permalink
[Common] [HOTFIX] 빌드 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
suwonthugger committed Nov 9, 2024
1 parent 7337e82 commit 1753550
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions apps/mobile/src/app/user/[userId]/_components/SVGTier/SVGTier.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { SVGAttributes, FC } from 'react';
import Tier1LargeIcon from '@/shared/assets/svgs/tier/Lg/tier_1.svg';
import Tier2LargeIcon from '@/shared/assets/svgs/tier/Lg/tier_2.svg';
import Tier3LargeIcon from '@/shared/assets/svgs/tier/Lg/tier_3.svg';
import Tier4LargeIcon from '@/shared/assets/svgs/tier/Lg/tier_4.svg';
import Tier5LargeIcon from '@/shared/assets/svgs/tier/Lg/tier_5.svg';
import Tier6LargeIcon from '@/shared/assets/svgs/tier/Lg/tier_6.svg';
import Tier1DefaultIcon from '@/shared/assets/svgs/tier/default/tier_1.svg';
import Tier2DefaultIcon from '@/shared/assets/svgs/tier/default/tier_2.svg';
import Tier3DefaultIcon from '@/shared/assets/svgs/tier/default/tier_3.svg';
import Tier4DefaultIcon from '@/shared/assets/svgs/tier/default/tier_4.svg';
import Tier5DefaultIcon from '@/shared/assets/svgs/tier/default/tier_5.svg';
import Tier6DefaultIcon from '@/shared/assets/svgs/tier/default/tier_6.svg';
import Tier1LargeIcon from '@/shared/assets/svgs/tier/lg/tier_1.svg';
import Tier2LargeIcon from '@/shared/assets/svgs/tier/lg/tier_2.svg';
import Tier3LargeIcon from '@/shared/assets/svgs/tier/lg/tier_3.svg';
import Tier4LargeIcon from '@/shared/assets/svgs/tier/lg/tier_4.svg';
import Tier5LargeIcon from '@/shared/assets/svgs/tier/lg/tier_5.svg';
import Tier6LargeIcon from '@/shared/assets/svgs/tier/lg/tier_6.svg';
import Tier1SmallIcon from '@/shared/assets/svgs/tier/sm/tier_1.svg';
import Tier2SmallIcon from '@/shared/assets/svgs/tier/sm/tier_2.svg';
import Tier3SmallIcon from '@/shared/assets/svgs/tier/sm/tier_3.svg';
Expand All @@ -20,7 +20,7 @@ import Tier6SmallIcon from '@/shared/assets/svgs/tier/sm/tier_6.svg';
import { TierTypes } from '../profile/types';

interface SVGTierProps extends SVGAttributes<SVGElement> {
size?: 'default' | 'sm' | 'lg';
size?: 'default' | 'sm' | 'Lg';
tier?: TierTypes;
}

Expand All @@ -33,7 +33,7 @@ const defaultComponent: Record<TierTypes, FC<SVGAttributes<SVGElement>>> = {
PURPLE: Tier6DefaultIcon,
};

const lgComponent: Record<TierTypes, FC<SVGAttributes<SVGElement>>> = {
const LgComponent: Record<TierTypes, FC<SVGAttributes<SVGElement>>> = {
YELLOW: Tier1LargeIcon,
GREEN: Tier2LargeIcon,
BLUE: Tier3LargeIcon,
Expand All @@ -59,8 +59,8 @@ const SVGTier = ({
const TierComponent =
size === 'default'
? defaultComponent[tier]
: size === 'lg'
? lgComponent[tier]
: size === 'Lg'
? LgComponent[tier]
: smComponent[tier];

if (!TierComponent) {
Expand Down

0 comments on commit 1753550

Please sign in to comment.