From e1de092b748dea3a715c7370d720b77fc92e2917 Mon Sep 17 00:00:00 2001 From: sganggs Date: Mon, 5 Oct 2026 16:32:44 +0800 Subject: [PATCH] =?UTF-8?q?feedback4:=20the=20lobby=20imports=20ERR,=20so?= =?UTF-8?q?=20a=20failed=20=E8=A7=82=E6=88=98=20join=20shows=20its=20toast?= =?UTF-8?q?=20instead=20of=20throwing=20(PR=20#119's=20error=20path;=20fou?= =?UTF-8?q?nd=20by=20the=200.2.0=20lint)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/screens/lobby.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/screens/lobby.js b/public/js/screens/lobby.js index 9e3afb26..817da7ef 100644 --- a/public/js/screens/lobby.js +++ b/public/js/screens/lobby.js @@ -10,7 +10,7 @@ // plays 战场#01, 险境 draws one of 8, 绝境 / 终极 one of 7 (m01 excluded). import { useEffect, useRef, useState } from '../../vendor/hooks.module.js'; -import { DIFFICULTIES, DIFFICULTY_NAMES, DIFFICULTY_COLORS, ROOM_CODE_LEN, MAX_SEATS, MAX_SPECTATORS, modeIdFor } from '../../../shared/constants.js'; +import { DIFFICULTIES, DIFFICULTY_NAMES, DIFFICULTY_COLORS, ROOM_CODE_LEN, MAX_SEATS, MAX_SPECTATORS, modeIdFor, ERR } from '../../../shared/constants.js'; import { html, Button, Icon, MicroLabel, Panel, TextField, PingPill, AvatarFrame, Tooltip, Spinner, DifficultyIcon, doctorNo } from '../ui/components.js'; import { toast, toastError } from '../ui/toasts.js'; import { GuideButton } from '../ui/guide.js';