Skip to content

Commit

Permalink
Merge pull request #38 from 2skydev/fix/league-champ-select-lane
Browse files Browse the repository at this point in the history
πŸ› fix: μ±”ν”Όμ–Έ μ„ νƒμ€‘μ—μ„œ ν¬μ§€μ…˜ midκ°€ 처리 μ•ˆλ˜λŠ” 버그 μˆ˜μ •
  • Loading branch information
2skydev authored May 31, 2023
2 parents f681da4 + f7f6ed4 commit fb91b75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/utils/league.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Lane } from '@renderer/types/league'

export const leagueChampSelectLaneStringToLane = (
value: 'top' | 'jungle' | 'mid' | 'bottom' | 'utility' | '',
value: 'top' | 'jungle' | 'middle' | 'bottom' | 'utility' | '',
): Lane | null => {
return (
{
top: 'top',
jungle: 'jg',
mid: 'mid',
middle: 'mid',
bottom: 'adc',
utility: 'sup',
}[value] || null
Expand Down

0 comments on commit fb91b75

Please sign in to comment.