diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-20 17:38:49 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-20 17:38:49 +0900 |
| commit | 699f24f3dcdb156838eb70602885c0b2cdd02cbc (patch) | |
| tree | 45b28eeadbb7d9e7f3847bd04f75ed010153619a /packages/client/src/components/note.vue | |
| parent | refactor: チャットルームをComposition API化 (#8850) (diff) | |
| download | misskey-699f24f3dcdb156838eb70602885c0b2cdd02cbc.tar.gz misskey-699f24f3dcdb156838eb70602885c0b2cdd02cbc.tar.bz2 misskey-699f24f3dcdb156838eb70602885c0b2cdd02cbc.zip | |
refactor(client): Refine routing (#8846)
Diffstat (limited to 'packages/client/src/components/note.vue')
| -rw-r--r-- | packages/client/src/components/note.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/components/note.vue b/packages/client/src/components/note.vue index 9ec1e53c1e..c2c92f541d 100644 --- a/packages/client/src/components/note.vue +++ b/packages/client/src/components/note.vue @@ -225,7 +225,7 @@ function undoReact(note): void { }); } -const currentClipPage = inject<Ref<misskey.entities.Clip>>('currentClipPage'); +const currentClipPage = inject<Ref<misskey.entities.Clip> | null>('currentClipPage', null); function onContextmenu(ev: MouseEvent): void { const isLink = (el: HTMLElement) => { |