Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
zkrising committed Feb 23, 2025
1 parent 7f517d7 commit 9bc1352
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/src/components/game/charts/ChartInfoFormat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,10 @@ function ChartInfoMiddle({
const gameConfig = GetGameConfig(game);

const diff = FormatDifficultySearch(chart, game);
const gameName = game === "ongeki" ? "オンゲキ" : game === "maimaidx" ? "maimaiでらくす" : gameConfig.name;
const formattedTitle = song.title.replace(/-/g, ' ');

const gameName =
game === "ongeki" ? "オンゲキ" : game === "maimaidx" ? "maimaiでらくす" : gameConfig.name;
const formattedTitle = song.title.replace(/-/gu, " ");

let search = `${gameName} ${formattedTitle}`;

if (diff !== null) {
Expand Down

0 comments on commit 9bc1352

Please sign in to comment.