From c7f4fd12157826dd830ef9c2c9cbf97d95d1dfe4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 24 Dec 2022 14:52:30 +0900 Subject: [PATCH] lint --- packages/client/src/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_) {