mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-02 08:58:11 +02:00
minor build fix
This commit is contained in:
parent
e34bcbbd06
commit
8ba48e24a6
@ -2,7 +2,6 @@ import "./globals.css";
|
||||
|
||||
import { Inter } from "next/font/google";
|
||||
import {
|
||||
fetchSettingsSS,
|
||||
getCombinedSettings,
|
||||
} from "@/components/settings/lib";
|
||||
import { CUSTOM_ANALYTICS_ENABLED } from "@/lib/constants";
|
||||
|
@ -1,13 +1,17 @@
|
||||
import { Bold } from "@tremor/react";
|
||||
import { Logo } from "./Logo";
|
||||
import { useContext } from "react";
|
||||
import { SettingsContext } from "./settings/SettingsProvider";
|
||||
|
||||
export function DanswerInitializingLoader() {
|
||||
const settings = useContext(SettingsContext);
|
||||
|
||||
return (
|
||||
<div className="mx-auto animate-pulse">
|
||||
<Logo height={96} width={96} className="mx-auto mb-3" />
|
||||
<Bold>
|
||||
Initializing{" "}
|
||||
{combinedSettings?.enterpriseSettings?.application_name ?? "Danswer"}
|
||||
{settings?.enterpriseSettings?.application_name ?? "Danswer"}
|
||||
</Bold>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user