diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-07-04 16:22:11 +0200 |
|---|---|---|
| committer | Johann150 <johann.galle@protonmail.com> | 2022-07-04 16:22:21 +0200 |
| commit | 2bd4323b17a65ded8e86fd0faf59b2d8321b3dbe (patch) | |
| tree | e42108142c93351f2ddd7c4553795976bed786e0 /packages/client/src/pages/theme-editor.vue | |
| parent | refactor: remove unnecessary computed (diff) | |
| download | misskey-2bd4323b17a65ded8e86fd0faf59b2d8321b3dbe.tar.gz misskey-2bd4323b17a65ded8e86fd0faf59b2d8321b3dbe.tar.bz2 misskey-2bd4323b17a65ded8e86fd0faf59b2d8321b3dbe.zip | |
fix lint: use let instead of const for $ref
Fixes lint no-const-assign.
Diffstat (limited to 'packages/client/src/pages/theme-editor.vue')
| -rw-r--r-- | packages/client/src/pages/theme-editor.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/pages/theme-editor.vue b/packages/client/src/pages/theme-editor.vue index cec3833594..d0a26c9cfe 100644 --- a/packages/client/src/pages/theme-editor.vue +++ b/packages/client/src/pages/theme-editor.vue @@ -118,7 +118,7 @@ const fgColors = [ { color: 'pink', forLight: '#84667d', forDark: '#e4d1e0', forPreview: '#b12390' }, ]; -const theme = $ref<Partial<Theme>>({ +let theme = $ref<Partial<Theme>>({ base: 'light', props: lightTheme.props, }); |