Skip to content

Commit

Permalink
npm run eslint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Mar 19, 2024
1 parent f1e8730 commit a2f0795
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/common/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const GITHUB_REPOSITORY_URL = "https://github.com/mobu-of-the-world/mobu" as const;
export const GITHUB_REPOSITORY_URL = "https://github.com/mobu-of-the-world/mobu";
6 changes: 3 additions & 3 deletions src/common/storage.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { isString, isTypedArray } from "./typeguard";

const KEY_PREFIX = "mobu-v1-" as const;
const KEY_USERS = `${KEY_PREFIX}users` as const;
const KEY_SOUND_ENABLED = `${KEY_PREFIX}sound_enabled` as const;
const KEY_PREFIX = "mobu-v1-";
const KEY_USERS = `${KEY_PREFIX}users`;
const KEY_SOUND_ENABLED = `${KEY_PREFIX}sound_enabled`;

export const getStorageSoundEnabled = (): boolean => {
return localStorage.getItem(KEY_SOUND_ENABLED) === "true";
Expand Down

0 comments on commit a2f0795

Please sign in to comment.