diff --git a/web/app/(shareLayout)/webapp-signin/page.tsx b/web/app/(shareLayout)/webapp-signin/page.tsx
index e7609f1de0..46b8a843b6 100644
--- a/web/app/(shareLayout)/webapp-signin/page.tsx
+++ b/web/app/(shareLayout)/webapp-signin/page.tsx
@@ -68,15 +68,15 @@ const WebSSOForm: FC = () => {
}
if (message) {
- return
-
-
{t('share.login.backToHome')}
+ return
+
+
{t('share.login.backToHome')}
}
if (!redirectUrl) {
showErrorToast('redirect url is invalid.')
return
}
if (webAppAccessMode && webAppAccessMode === AccessMode.PUBLIC) {
@@ -98,9 +98,9 @@ const WebSSOForm: FC = () => {
if (webAppAccessMode && webAppAccessMode === AccessMode.EXTERNAL_MEMBERS)
return
- return
-
-
{t('share.login.backToHome')}
+ return
+
+
{t('share.login.backToHome')}
}
diff --git a/web/app/components/base/app-unavailable.tsx b/web/app/components/base/app-unavailable.tsx
index 4e835cbfcf..928c850262 100644
--- a/web/app/components/base/app-unavailable.tsx
+++ b/web/app/components/base/app-unavailable.tsx
@@ -1,4 +1,5 @@
'use client'
+import classNames from '@/utils/classnames'
import type { FC } from 'react'
import React from 'react'
import { useTranslation } from 'react-i18next'
@@ -7,17 +8,19 @@ type IAppUnavailableProps = {
code?: number | string
isUnknownReason?: boolean
unknownReason?: string
+ className?: string
}
const AppUnavailable: FC
= ({
code = 404,
isUnknownReason,
unknownReason,
+ className,
}) => {
const { t } = useTranslation()
return (
-