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