feat: enhance player panel and draw status handling
- Refactored PlayerPanel layout for improved title positioning and responsiveness. - Added new function to check if betting is blocked based on hall status. - Updated HallDrawPanel to utilize the new betting status check and display appropriate messages. - Enhanced i18n support with new notices for review and non-bettable states across multiple languages.
This commit is contained in:
@@ -28,8 +28,8 @@ interface ErrorState {
|
||||
}
|
||||
|
||||
export const useErrorStore = create<ErrorState>((set, get) => ({
|
||||
// 初始状态
|
||||
isOffline: typeof window !== "undefined" ? !navigator.onLine : false,
|
||||
// 首屏与 SSR 一致为 false;真实离线状态由 useNetworkStatus 在 mount 后同步
|
||||
isOffline: false,
|
||||
isServerError: false,
|
||||
serverErrorMessage: "服务器暂时不可用,请稍后重试",
|
||||
currentErrorType: null,
|
||||
|
||||
Reference in New Issue
Block a user