diff --git a/services/web/frontend/js/features/chat/components/chat-pane.tsx b/services/web/frontend/js/features/chat/components/chat-pane.tsx index fd4376bd5e..2d965c4228 100644 --- a/services/web/frontend/js/features/chat/components/chat-pane.tsx +++ b/services/web/frontend/js/features/chat/components/chat-pane.tsx @@ -10,13 +10,17 @@ import { useUserContext } from '../../../shared/context/user-context' import withErrorBoundary from '../../../infrastructure/error-boundary' import { FetchError } from '../../../infrastructure/fetch-json' import { useChatContext } from '../context/chat-context' -import LoadingSpinner from '../../../shared/components/loading-spinner' +import { FullSizeLoadingSpinner } from '../../../shared/components/loading-spinner' import { bsVersion } from '@/features/utils/bootstrap-5' import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher' import MaterialIcon from '@/shared/components/material-icon' const MessageList = lazy(() => import('./message-list')) +const Loading = () => ( + +) + const ChatPane = React.memo(function ChatPane() { const { t } = useTranslation() @@ -85,8 +89,8 @@ const ChatPane = React.memo(function ChatPane() {

{t('chat')}

- }> - {status === 'pending' && } + }> + {status === 'pending' && } {shouldDisplayPlaceholder && } +
)