export function buildSummonerDetailPath(gameName: string, tagLine: string) {
  const normalizedGameName = gameName.trim();
  const normalizedTagLine = tagLine.trim() || 'KR1';

  return `/summoners/${encodeURIComponent(normalizedGameName)}/${encodeURIComponent(normalizedTagLine)}`;
}
