Skip to content

Commit

Permalink
Merge pull request #111 from Gamegoo-repo/fix/#110
Browse files Browse the repository at this point in the history
[Fix] QA
  • Loading branch information
yyypearl authored Oct 10, 2024
2 parents bdc3a86 + 8e65f3e commit ce8895a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/board/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import ChatLayout from "../chat/ChatLayout";
import Champion from "../readBoard/Champion";
import { BoardDetail } from "@/interface/board";
import { getProfileBgColor } from "@/utils/profile";
import { toLowerCaseString } from "@/utils/string";

interface TableTitleProps {
id: number;
Expand Down Expand Up @@ -175,8 +176,10 @@ const Table = (props: TableProps) => {
<Third className="table_width">
<TierImage
data={!data.tier
? "/assets/images/tier/ur.svg"
: `/assets/images/tier/${data.tier}.svg`
? "/assets/images/tier/unranked.svg"
: `/assets/images/tier/${toLowerCaseString(
data.tier
)}.svg`
}
width={28}
height={26}
Expand Down

0 comments on commit ce8895a

Please sign in to comment.