Use [SE] in search results for SE mods

Instead of [SSE] so the different edtions are the same number of characters.
This commit is contained in:
Tyler Hallada 2022-09-07 12:50:30 -04:00
parent eebc43fbee
commit ec65c6aaa3
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import { SearchResult } from "minisearch";
import { SearchContext } from "./SearchProvider"; import { SearchContext } from "./SearchProvider";
import styles from "../styles/SearchBar.module.css"; import styles from "../styles/SearchBar.module.css";
import { DownloadCountsContext } from "./DownloadCountsProvider"; import { DownloadCountsContext } from "./DownloadCountsProvider";
import { GameName } from "./GamesProvider"; import type { GameName } from "../lib/games";
type Props = { type Props = {
sidebarOpen: boolean; sidebarOpen: boolean;
@ -21,7 +21,7 @@ function gamePrefex(game: GameName): string {
case "skyrim": case "skyrim":
return "[LE]"; return "[LE]";
case "skyrimspecialedition": case "skyrimspecialedition":
return "[SSE]"; return "[SE]";
default: default:
return ""; return "";
} }

View File

@ -3,7 +3,7 @@ import MiniSearch from "minisearch";
import useSWRImmutable from "swr/immutable"; import useSWRImmutable from "swr/immutable";
import { jsonFetcher } from "../lib/api"; import { jsonFetcher } from "../lib/api";
import type { GameName } from "./GamesProvider"; import type { GameName } from "../lib/games";
interface Mod { interface Mod {
name: string; name: string;