refactor(client): Use symbol

This commit is contained in:
syuilo
2021-04-10 12:54:12 +09:00
parent d3fe02fb3e
commit 45e5d89353
103 changed files with 246 additions and 142 deletions

View File

@@ -78,6 +78,7 @@ import { ColdDeviceStorage } from '@client/store';
import { i18n } from '@client/i18n';
import { defaultStore } from '@client/store';
import { fetchThemes, getThemes } from '@client/theme-store';
import * as symbols from '@client/symbols';
export default defineComponent({
components: {
@@ -144,7 +145,7 @@ export default defineComponent({
});
return {
INFO,
[symbols.PAGE_INFO]: INFO,
darkThemes,
lightThemes,
darkTheme,