mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-05 01:26:08 +00:00
fixed
This commit is contained in:
+2
-2
@@ -98,8 +98,8 @@ export const translateText = (
|
||||
export class TerritoryPatternStorage {
|
||||
private static readonly KEY = "territoryPattern";
|
||||
|
||||
static getSelectedPattern(): string {
|
||||
return localStorage.getItem(TerritoryPatternStorage.KEY) || "";
|
||||
static getSelectedPattern(): string | undefined {
|
||||
return localStorage.getItem(TerritoryPatternStorage.KEY) ?? undefined;
|
||||
}
|
||||
|
||||
static setSelectedPattern(patternKey: string): void {
|
||||
|
||||
Reference in New Issue
Block a user