diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-12-24 14:52:30 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-12-24 14:52:30 +0900 |
| commit | c7f4fd12157826dd830ef9c2c9cbf97d95d1dfe4 (patch) | |
| tree | 66efad42b3a095869e95cb6c2e2a8a7d11f2d55b | |
| parent | :art: (diff) | |
| download | misskey-c7f4fd12157826dd830ef9c2c9cbf97d95d1dfe4.tar.gz misskey-c7f4fd12157826dd830ef9c2c9cbf97d95d1dfe4.tar.bz2 misskey-c7f4fd12157826dd830ef9c2c9cbf97d95d1dfe4.zip | |
lint
| -rw-r--r-- | packages/client/src/init.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 89692d5fbb..508d3262b3 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -128,7 +128,7 @@ import { getAccountFromId } from '@/scripts/get-account-from-id'; } // 連携ログインの場合用にCookieを参照する - const i = (document.cookie.match(/igi=(\w+)/) || [null, null])[1]; + const i = (document.cookie.match(/igi=(\w+)/) ?? [null, null])[1]; if (i != null && i !== 'null') { if (_DEV_) { |